aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libglade
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libglade')
-rw-r--r--devel/libglade/Makefile7
-rw-r--r--devel/libglade/files/patch-ab3
2 files changed, 4 insertions, 6 deletions
diff --git a/devel/libglade/Makefile b/devel/libglade/Makefile
index 172e7d4c2ccb..c4beaba3469b 100644
--- a/devel/libglade/Makefile
+++ b/devel/libglade/Makefile
@@ -13,17 +13,14 @@ MASTER_SITE_SUBDIR= stable/sources/libglade
MAINTAINER= ade@FreeBSD.org
-LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
- xml.5:${PORTSDIR}/textproc/libxml
-
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+LIB_DEPENDS= xml.5:${PORTSDIR}/textproc/libxml
USE_PERL5= yes
USE_GMAKE= yes
+USE_GNOMELIBS= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>
diff --git a/devel/libglade/files/patch-ab b/devel/libglade/files/patch-ab
index 83ac017513a8..ca9e9529d029 100644
--- a/devel/libglade/files/patch-ab
+++ b/devel/libglade/files/patch-ab
@@ -7,7 +7,8 @@
-SUBDIRS = intl po macros glade doc
+SUBDIRS = intl po macros glade
- m4datadir = $(datadir)/aclocal
+-m4datadir = $(datadir)/aclocal
++m4datadir = $(prefix)/share/aclocal
m4data_DATA = libglade.m4
-confexecdir = $(libdir)