aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gnomebuild
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-04-11 08:33:48 +0800
committermarcus <marcus@FreeBSD.org>2004-04-11 08:33:48 +0800
commit1a56a7eaff9e3e421aa2be13066c1e3408a632a7 (patch)
treee4a4ed6bcc01a6e1ec64e9879c81a58c9cddb523 /devel/gnomebuild
parent5b1ee16e202d182c6fb9bf20cdd46e6a30ce0508 (diff)
downloadfreebsd-ports-gnome-1a56a7eaff9e3e421aa2be13066c1e3408a632a7.tar.gz
freebsd-ports-gnome-1a56a7eaff9e3e421aa2be13066c1e3408a632a7.tar.zst
freebsd-ports-gnome-1a56a7eaff9e3e421aa2be13066c1e3408a632a7.zip
* Use lthack
* Fix build with gtk+-2.4
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'