1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Add a hack to set the scrollkeeper reigstration path to the constant defined

by ${SCROLLKEEPER_DIR} regardless of the value of localstatedir.
This commit is contained in:
Joe Marcus Clarke 2003-01-28 01:52:02 +00:00
parent fe295c2c09
commit f888b45e4e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74117

View File

@ -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