summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjylefort <jylefort@df743ca5-7f9a-e211-a948-0013205c9059>2006-05-13 02:00:24 +0800
committerjylefort <jylefort@df743ca5-7f9a-e211-a948-0013205c9059>2006-05-13 02:00:24 +0800
commit34e689f587f1129c83f861a216f9c7ab6b2ab943 (patch)
tree2b5aa18ea71480ed8dd016c12da4a699bb5b98d3
parent9416cba1b4c7b2d01399ad16d5e6363f651a159a (diff)
downloadmarcuscom-ports-34e689f587f1129c83f861a216f9c7ab6b2ab943.tar
marcuscom-ports-34e689f587f1129c83f861a216f9c7ab6b2ab943.tar.gz
marcuscom-ports-34e689f587f1129c83f861a216f9c7ab6b2ab943.tar.bz2
marcuscom-ports-34e689f587f1129c83f861a216f9c7ab6b2ab943.tar.lz
marcuscom-ports-34e689f587f1129c83f861a216f9c7ab6b2ab943.tar.xz
marcuscom-ports-34e689f587f1129c83f861a216f9c7ab6b2ab943.tar.zst
marcuscom-ports-34e689f587f1129c83f861a216f9c7ab6b2ab943.zip
Merge the referencehack component from FreeBSD ports.
Reported by: Pascal Hofstee <caelian@gmail.com> git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6241 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--Mk/bsd.gnome.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index 45b51ffe3..fb7765a85 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.372 2006/05/06 08:51:14 marcus Exp $
+# $MCom: ports/Mk/bsd.gnome.mk,v 1.373 2006/05/06 09:07:30 marcus Exp $
#
# Please view me with 4 column tabs!
@@ -47,7 +47,7 @@ Gnome_Pre_Include= bsd.gnome.mk
# non-version specific components
_USE_GNOME_ALL= esound intlhack intltool lthack ltverhack gnomehack \
- gnomehier gnomemimedata gnomeprefix gnometarget pkgconfig
+ referencehack gnomehier gnomemimedata gnomeprefix gnometarget pkgconfig
# GNOME 1 components
_USE_GNOME_ALL+= bonobo gal gconf gdkpixbuf glib12 glibwww \
@@ -92,6 +92,9 @@ gnomehack_PRE_PATCH= ${FIND} ${WRKSRC} -name "Makefile.in*" -type f | ${XARGS} $
s|datadir/dbus-1/services|prefix/share/dbus-1/services|g ; \
s|{libdir}/locale|{prefix}/share/locale|g'
+referencehack_PRE_PATCH= ${FIND} ${WRKSRC} -name "Makefile.in" -type f | ${XARGS} ${REINPLACE_CMD} -e \
+ "s|test \"\$$\$$installfiles\" = '\$$(srcdir)/html/\*'|:|"
+
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;|'