aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/k3d
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-06-10 14:46:28 +0800
committeritetcu <itetcu@FreeBSD.org>2009-06-10 14:46:28 +0800
commite6e752b265af5fab389a8b4e30cc52005ea2629b (patch)
treeeab617ae47e6470e42f0e39fa1f5694225ad083e /graphics/k3d
parent32bbf5f6b6ae897c88b88381be65c1ea4d8d631c (diff)
downloadfreebsd-ports-gnome-e6e752b265af5fab389a8b4e30cc52005ea2629b.tar.gz
freebsd-ports-gnome-e6e752b265af5fab389a8b4e30cc52005ea2629b.tar.zst
freebsd-ports-gnome-e6e752b265af5fab389a8b4e30cc52005ea2629b.zip
Brute-force patch ./configure and fix build with custom LOCALBASE.
Reported by: QATty
Diffstat (limited to 'graphics/k3d')
-rw-r--r--graphics/k3d/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/k3d/Makefile b/graphics/k3d/Makefile
index 001d6b128669..0f57be3e39cc 100644
--- a/graphics/k3d/Makefile
+++ b/graphics/k3d/Makefile
@@ -57,4 +57,9 @@ CONFIGURE_ARGS+=--without-gnome
PLIST_SUB+= GNOME="@comment "
.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>