diff options
author | marcus <marcus@FreeBSD.org> | 2004-04-11 08:33:48 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-04-11 08:33:48 +0800 |
commit | 1a56a7eaff9e3e421aa2be13066c1e3408a632a7 (patch) | |
tree | e4a4ed6bcc01a6e1ec64e9879c81a58c9cddb523 /devel/gnomebuild | |
parent | 5b1ee16e202d182c6fb9bf20cdd46e6a30ce0508 (diff) | |
download | freebsd-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/Makefile | 8 | ||||
-rw-r--r-- | devel/gnomebuild/files/patch-configure | 10 |
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' |