* Use lthack

* Fix build with gtk+-2.4
This commit is contained in:
Joe Marcus Clarke 2004-04-11 00:33:48 +00:00
parent c7314df277
commit 0c4a2322b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106703
4 changed files with 12 additions and 24 deletions

View file

@ -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>

View file

@ -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'

View file

@ -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>

View file

@ -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'