aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.gnome.mk
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2006-05-10 06:21:29 +0800
committerjylefort <jylefort@FreeBSD.org>2006-05-10 06:21:29 +0800
commitc1c16e7be3935bc1b0f3edc86ff423d8507064da (patch)
tree725fc450efadc2dd947479c510583992eca984e8 /Mk/bsd.gnome.mk
parentc209dfa3a833f102b4cf68b8793467f286b3f652 (diff)
downloadfreebsd-ports-gnome-c1c16e7be3935bc1b0f3edc86ff423d8507064da.tar.gz
freebsd-ports-gnome-c1c16e7be3935bc1b0f3edc86ff423d8507064da.tar.zst
freebsd-ports-gnome-c1c16e7be3935bc1b0f3edc86ff423d8507064da.zip
Add the referencehack component (patches out programming reference in
GNOME ports).
Diffstat (limited to 'Mk/bsd.gnome.mk')
-rw-r--r--Mk/bsd.gnome.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index f0b8303e0594..25dc976ac8b2 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -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;|'