summaryrefslogtreecommitdiff
path: root/devel/gnome-build
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-04-11 00:33:48 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-04-11 00:33:48 +0000
commit0c4a2322b1b15e58c64348f0ab4a7edf64c9f899 (patch)
tree791b2f11fcac21face76353975c46fc67d06860d /devel/gnome-build
parentThis seems to be broken globally. (diff)
* Use lthack
* Fix build with gtk+-2.4
Notes
Notes: svn path=/head/; revision=106703
Diffstat (limited to 'devel/gnome-build')
-rw-r--r--devel/gnome-build/Makefile8
-rw-r--r--devel/gnome-build/files/patch-configure10
2 files changed, 6 insertions, 12 deletions
diff --git a/devel/gnome-build/Makefile b/devel/gnome-build/Makefile
index 93230f7cfc3d..1b55d60e0694 100644
--- a/devel/gnome-build/Makefile
+++ b/devel/gnome-build/Makefile
@@ -20,10 +20,10 @@ LIB_DEPENDS= gdl-1.0:${PORTSDIR}/x11-toolkits/gdl
USE_BZIP2= yes
USE_X_PREFIX= yes
-USE_GNOME= gnomeprefix gnomehack gnometarget libgnomeui gnomevfs2
+USE_GNOME= gnomeprefix gnomehack lthack gnometarget libgnomeui gnomevfs2
USE_LIBTOOL_VER= 13
-GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
+USE_REINPLACE= yes
CONFIGURE_ARGS= --enable-compile-warnings=no
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lgnuregex"
@@ -36,4 +36,8 @@ EXTRA_PATCHES+= ${FILESDIR}/current-src_backends_libgbf_am_gbf-am-project.c
EXTRA_PATCHES+= ${FILESDIR}/stable-src_backends_libgbf_am_gbf-am-project.c
.endif
+post-patch:
+ @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -Ee \
+ 's|-D[^[:space:]_]+_DISABLE_DEPRECATED||g'
+
.include <bsd.port.post.mk>
diff --git a/devel/gnome-build/files/patch-configure b/devel/gnome-build/files/patch-configure
deleted file mode 100644
index 2c2719fb4163..000000000000
--- a/devel/gnome-build/files/patch-configure
+++ /dev/null
@@ -1,10 +0,0 @@
---- configure.orig Thu Oct 16 11:43:53 2003
-+++ configure Thu Oct 16 11:44:25 2003
-@@ -19321,6 +19321,7 @@
-
- # This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
-
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'