mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
Fix include path to pick uÃp local headers first instead of LOCALBASE stuff.
This fixes a header conflict with libevent2 PR: 204125 Submitted by: KOT@MATPOCKuH.Ru
This commit is contained in:
parent
fbf963a047
commit
102ee435e1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=400536
@ -86,6 +86,10 @@ post-patch:
|
||||
${WRKSRC}/console/Subdir.mk \
|
||||
${WRKSRC}/x11/Subdir.mk
|
||||
|
||||
@${REINPLACE_CMD} -e 's|\(@CFLAGS@.*\)\$$(LIB_FLAGS) |\$$(LIB_FLAGS) \1|g; \
|
||||
s|-Llibng||g' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
.for i in ${FILES_LIBJPEG}
|
||||
@${REINPLACE_CMD} -e "s|-ljpeg|-L${LOCALBASE}/lib -ljpeg|g" ${WRKSRC}/$i
|
||||
.endfor
|
||||
|
Loading…
Reference in New Issue
Block a user