aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gview/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gview/Makefile')
-rw-r--r--graphics/gview/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/gview/Makefile b/graphics/gview/Makefile
index 08bc084fa31a..43d05c30baf2 100644
--- a/graphics/gview/Makefile
+++ b/graphics/gview/Makefile
@@ -22,7 +22,9 @@ GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ GTK_CONFIG="${GTK_CONFIG}"
post-install:
.if !defined(NOPORTDOCS)