From c659356dd2f521e3f87349e1bdf1865ccefeee1b Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 2 Aug 2005 18:25:30 +0000 Subject: Add ltverhack, a way of normalizing shared library versions. Submitted by: jylefort git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4372 df743ca5-7f9a-e211-a948-0013205c9059 --- Mk/bsd.gnome.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Mk') diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk index 77f3fa605..645b78c91 100644 --- a/Mk/bsd.gnome.mk +++ b/Mk/bsd.gnome.mk @@ -3,7 +3,7 @@ # # $FreeBSD$ # $NetBSD: $ -# $MCom: ports/Mk/bsd.gnome.mk,v 1.303 2005/07/26 02:14:22 marcus Exp $ +# $MCom: ports/Mk/bsd.gnome.mk,v 1.304 2005/07/27 04:49:37 ahze Exp $ # # Please view me with 4 column tabs! @@ -41,7 +41,7 @@ Gnome_Pre_Include= bsd.gnome.mk # # non-version specific components -_USE_GNOME_ALL= esound intlhack intltool lthack gnomehack \ +_USE_GNOME_ALL= esound intlhack intltool lthack ltverhack gnomehack \ gnomehier gnomemimedata gnomeprefix gnometarget pkgconfig # GNOME 1 components @@ -87,6 +87,10 @@ gnomehack_PRE_PATCH= ${FIND} ${WRKSRC} -name "Makefile.in*" -type f | ${XARGS} $ lthack_PRE_PATCH= ${FIND} ${WRKSRC} -name "configure" -type f | ${XARGS} ${REINPLACE_CMD} -e \ '/^LIBTOOL_DEPS="$$ac_aux_dir\/ltmain.sh"$$/s|$$|; $$ac_aux_dir/ltconfig $$LIBTOOL_DEPS;|' +ltverhack_PRE_PATCH= ${FIND} ${WRKSRC} -name "Makefile.in*" -type f | \ + ${XARGS} ${REINPLACE_CMD} -Ee + 's|(^\|[[:space:]=])-version-info[[:space:]]+[^[:space:]\\]+|\1|' + GNOME_MTREE= ${X11BASE}/etc/mtree/BSD.gnome-x11.dist gnomehier_DETECT= ${GNOME_MTREE} gnomehier_RUN_DEPENDS= ${gnomehier_DETECT}:${PORTSDIR}/misc/gnomehier -- cgit v1.2.3