1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Brute-force patch ./configure and fix build with custom LOCALBASE.

Reported by:	QATty
This commit is contained in:
Ion-Mihai Tetcu 2009-06-10 06:46:28 +00:00
parent 04c19715cc
commit d5185463c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235531

View File

@ -57,4 +57,9 @@ CONFIGURE_ARGS+=--without-gnome
PLIST_SUB+= GNOME="@comment " PLIST_SUB+= GNOME="@comment "
.endif .endif
post-patch:
${REINPLACE_CMD} -e 's,/usr/local/include,${LOCALBASE}/include,' \
-e 's,/usr/local/lib,${LOCALBASE}/lib,' \
${WRKSRC}/configure
.include <bsd.port.post.mk> .include <bsd.port.post.mk>