mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Fix build issue with freetype (again), hopefully now working for all versions
This commit is contained in:
parent
5e476c009d
commit
6e8e95f9f0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338115
@ -30,7 +30,8 @@ GNU_CONFIGURE= yes
|
||||
USES= shebangfix
|
||||
SHEBANG_FILES= share/bin/imgmerge share/bin/xpaint_ocr
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 \
|
||||
-I${LOCALBASE}/include/freetype2/freetype
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
MAKE_ENV+= RM="${RM} -f"
|
||||
|
||||
@ -39,6 +40,7 @@ post-extract:
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/-ldl //' \
|
||||
-e 's|freetype/||g' \
|
||||
${WRKSRC}/configure ${WRKSRC}/rw/configure
|
||||
@${REINPLACE_CMD} -e '/^LIBTOOL/d' \
|
||||
-e '/^install-exec-am:/s/install-libLTLIBRARIES//' \
|
||||
|
Loading…
Reference in New Issue
Block a user