aboutsummaryrefslogtreecommitdiff
path: root/devel/gnomebuild
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/gnomebuild
parentc7314df2777abfe5aefecca75aeb7b08fa9da51f (diff)
downloadports-0c4a2322b1b15e58c64348f0ab4a7edf64c9f899.tar.gz
ports-0c4a2322b1b15e58c64348f0ab4a7edf64c9f899.zip
Notes
Diffstat (limited to 'devel/gnomebuild')
-rw-r--r--devel/gnomebuild/Makefile8
-rw-r--r--devel/gnomebuild/files/patch-configure10
2 files changed, 6 insertions, 12 deletions
diff --git a/devel/gnomebuild/Makefile b/devel/gnomebuild/Makefile
index 93230f7cfc3d..1b55d60e0694 100644
--- a/devel/gnomebuild/Makefile
+++ b/devel/gnomebuild/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/gnomebuild/files/patch-configure b/devel/gnomebuild/files/patch-configure
deleted file mode 100644
index 2c2719fb4163..000000000000
--- a/devel/gnomebuild/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'