summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-08-03 02:25:30 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-08-03 02:25:30 +0800
commitc659356dd2f521e3f87349e1bdf1865ccefeee1b (patch)
tree022720daa95f31c1bf2f7c0addc9bf8cc865e96c
parentd830dcef523103aa2e5d2db7c2eb416f73bab8f2 (diff)
downloadmarcuscom-ports-c659356dd2f521e3f87349e1bdf1865ccefeee1b.tar
marcuscom-ports-c659356dd2f521e3f87349e1bdf1865ccefeee1b.tar.gz
marcuscom-ports-c659356dd2f521e3f87349e1bdf1865ccefeee1b.tar.bz2
marcuscom-ports-c659356dd2f521e3f87349e1bdf1865ccefeee1b.tar.lz
marcuscom-ports-c659356dd2f521e3f87349e1bdf1865ccefeee1b.tar.xz
marcuscom-ports-c659356dd2f521e3f87349e1bdf1865ccefeee1b.tar.zst
marcuscom-ports-c659356dd2f521e3f87349e1bdf1865ccefeee1b.zip
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
-rw-r--r--Mk/bsd.gnome.mk8
1 files changed, 6 insertions, 2 deletions
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