diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2001-07-17 14:21:36 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2001-07-17 14:21:36 +0000 |
commit | d555a0e3350a02b9fd1185f9338d36a9a43ddd42 (patch) | |
tree | da993219fdafcf0dbd400827a4a5849bca024b04 | |
parent | e31267efa6ce25492d10096909f59fce1e839925 (diff) | |
download | ports-d555a0e3350a02b9fd1185f9338d36a9a43ddd42.tar.gz ports-d555a0e3350a02b9fd1185f9338d36a9a43ddd42.zip |
Notes
-rw-r--r-- | graphics/libmng/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/graphics/libmng/Makefile b/graphics/libmng/Makefile index 5296bdc17030..79d8c1c84ab4 100644 --- a/graphics/libmng/Makefile +++ b/graphics/libmng/Makefile @@ -26,9 +26,8 @@ MAN3= libmng.3 MAN5= mng.5 jng.5 post-patch: -.if exists(${PREFIX}/include/lcms.h) - ${PERL} -pi -e 's%lcms/lcms.h%lcms.h%' ${WRKSRC}/libmng_types.h -.endif + 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 \ |