Restore the post-patch target to the previous version (using test(1)).
The make's ``.if exists'' works differently... Submitted by: KATO Tsuguru
This commit is contained in:
parent
e31267efa6
commit
d555a0e335
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=45196
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user