diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2001-06-18 22:55:40 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2001-06-18 22:55:40 +0000 |
commit | 53ac9ea355529306a03bdda7460fa7ff7b9bb324 (patch) | |
tree | c4870dc32c5632991cef98206da893db877d57b1 /graphics/libmng | |
parent | Use MASTER_SITE_SUBDIR to look in old and current directory incase (diff) |
This port depends on lcms, which recently started to install its lcms.h
into ${PREFIX}/include/ instead of ${PREFIX}/include/lcms/ .
Provide a post-patch workaround, which looks for lcms.h and patches the
libmng_types.h if necessary. This fix was sitting in my own ports tree
for a while and I thought I committed it, until the pr 28202 got transfered
to me this morning:
PR: 28202
Submitted by: Dan Pelleg <dpelleg+bsd@cs.cmu.edu>
Notes
Notes:
svn path=/head/; revision=44191
Diffstat (limited to 'graphics/libmng')
-rw-r--r-- | graphics/libmng/Makefile | 4 |
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 \ |