aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/etherape/Makefile2
-rw-r--r--net/etherape/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/net-mgmt/etherape/Makefile b/net-mgmt/etherape/Makefile
index c2e4814584b0..d149c26069c3 100644
--- a/net-mgmt/etherape/Makefile
+++ b/net-mgmt/etherape/Makefile
@@ -21,6 +21,8 @@ USE_X_PREFIX= yes
MAN1= etherape.1
+CFLAGS+= `${X11BASE}/bin/libglade-config --cflags`
+
post-patch:
@${PERL} -pi -e 's!^confdir = .*!confdir = ${PREFIX}/share/etherape!' \
${WRKSRC}/Makefile.in
diff --git a/net/etherape/Makefile b/net/etherape/Makefile
index c2e4814584b0..d149c26069c3 100644
--- a/net/etherape/Makefile
+++ b/net/etherape/Makefile
@@ -21,6 +21,8 @@ USE_X_PREFIX= yes
MAN1= etherape.1
+CFLAGS+= `${X11BASE}/bin/libglade-config --cflags`
+
post-patch:
@${PERL} -pi -e 's!^confdir = .*!confdir = ${PREFIX}/share/etherape!' \
${WRKSRC}/Makefile.in