summaryrefslogtreecommitdiff
path: root/x11/xscreensaver-gnome
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-10-28 02:39:32 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-10-28 02:39:32 +0000
commit7458b4b0c83680d2c324cbdec9ff436e35a47814 (patch)
tree8f4fb300e06806a652487866bc5fb17465274541 /x11/xscreensaver-gnome
parentChange MASTER_SITES and unBROKEN (diff)
Substitute hard-coded /usr/X11R6 with ${X11BASE} to avoid installation
problems with non-standard base prefixes. Reported by: pointyhat via kris
Notes
Notes: svn path=/head/; revision=146519
Diffstat (limited to 'x11/xscreensaver-gnome')
-rw-r--r--x11/xscreensaver-gnome/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11/xscreensaver-gnome/Makefile b/x11/xscreensaver-gnome/Makefile
index 10e5980e08ad..b1c8c46e61f0 100644
--- a/x11/xscreensaver-gnome/Makefile
+++ b/x11/xscreensaver-gnome/Makefile
@@ -95,7 +95,8 @@ post-patch:
${WRKSRC}/hacks/glx/extrusion.c
@${REINPLACE_CMD} -e 's| ||' \
${WRKSRC}/hacks/glx/klein.c
- @${REINPLACE_CMD} -E -e 's|^[[:space:]]*GL_LIBS="${PTHREAD_LIBS}"|#|g' \
+ @${REINPLACE_CMD} -E -e 's|^[[:space:]]*GL_LIBS="${PTHREAD_LIBS}"|#|g ; \
+ s|/usr/X11R6|${X11BASE}|g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|<util.h>|<libutil.h>|' \
${WRKSRC}/hacks/phosphor.c ${WRKSRC}/hacks/apple2-main.c