aboutsummaryrefslogtreecommitdiff
path: root/graphics/libmng/Makefile
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2001-06-18 22:55:40 +0000
committerMikhail Teterin <mi@FreeBSD.org>2001-06-18 22:55:40 +0000
commit53ac9ea355529306a03bdda7460fa7ff7b9bb324 (patch)
treec4870dc32c5632991cef98206da893db877d57b1 /graphics/libmng/Makefile
parent7f344d00b70d76052e2f02a16f2c0906229d33ea (diff)
downloadports-53ac9ea355529306a03bdda7460fa7ff7b9bb324.tar.gz
ports-53ac9ea355529306a03bdda7460fa7ff7b9bb324.zip
Notes
Diffstat (limited to 'graphics/libmng/Makefile')
-rw-r--r--graphics/libmng/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/libmng/Makefile b/graphics/libmng/Makefile
index 1ea9d10e8a93..4eac92cd947f 100644
--- a/graphics/libmng/Makefile
+++ b/graphics/libmng/Makefile
@@ -28,8 +28,8 @@ MAN3= libmng.3
MAN5= mng.5 jng.5
post-patch:
- ${PERL} -pi -e 's%lcms/lcms.h%lcms.h%' ${WRKSRC}/configure \
- ${WRKSRC}/libmng_types.h
+ test ! -e ${PREFIX}/include/lcms.h || ${PERL} -pi -e \
+ 's%lcms/lcms.h%lcms.h%' ${WRKSRC}/libmng_types.h
post-install:
cd ${WRKSRC}/doc/man && ${INSTALL_MAN} ${MAN3} ${PREFIX}/man/man3 \