summaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-01-28 01:52:02 +0000
committermarcus <marcus@FreeBSD.org>2003-01-28 01:52:02 +0000
commit47daa3ed92bf4479f3881ad74641909c9eb549f7 (patch)
treeeadba864fbdb72d608848cbdd7dea4539aac86c9 /Mk
parenta298c259efa2f4382a9a407781f2c30f64286d05 (diff)
downloadFreeBSD-ports-47daa3ed92bf4479f3881ad74641909c9eb549f7.zip
FreeBSD-ports-47daa3ed92bf4479f3881ad74641909c9eb549f7.tar.gz
Add a hack to set the scrollkeeper reigstration path to the constant defined
by ${SCROLLKEEPER_DIR} regardless of the value of localstatedir.
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gnomeng.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.gnomeng.mk b/Mk/bsd.gnomeng.mk
index c198862..48dcb3b 100644
--- a/Mk/bsd.gnomeng.mk
+++ b/Mk/bsd.gnomeng.mk
@@ -26,6 +26,7 @@ _USE_GNOME_ALL= gnomehack gnomeprefix gnomehier gnomeaudio esound libghttp \
gnomeprint bonobo libgda gnomedb libglade gal glibwww gtkhtml \
libpanel
+SCROLLKEEPER_DIR= /var/db/scrollkeeper
gnomehack_PRE_PATCH= ${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
's|[(]GNOME_datadir[)]/gnome/|(datadir)/|g ; \
s|[(]GNOME_datadir[)]/locale|(prefix)/share/locale|g ; \
@@ -35,6 +36,7 @@ gnomehack_PRE_PATCH= ${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLA
s|[(]datadir[)]/aclocal|(prefix)/share/aclocal|g ; \
s|[(]datadir[)]/gnome/|(datadir)/|g ; \
s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \
+ s|[$$][(]localstatedir[)]/scrollkeeper|${SCROLLKEEPER_DIR}|g ; \
s|[(]libdir[)]/bonobo/servers|(prefix)/libdata/bonobo/servers|g'
gnomehier_RUN_DEPENDS= ${X11BASE}/share/gnome/.keep_me:${PORTSDIR}/misc/gnomehier
OpenPOWER on IntegriCloud