aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-10-28 10:39:32 +0800
committermarcus <marcus@FreeBSD.org>2005-10-28 10:39:32 +0800
commitc49801f84a0611383d2bb7256661be299d77427a (patch)
treedd444aebd9eeecdb21a2f2ab29f60585fc173f41 /x11
parent7e21e43fa05db7a7c2b7f3fdd79f52e55a9116aa (diff)
downloadfreebsd-ports-gnome-c49801f84a0611383d2bb7256661be299d77427a.tar.gz
freebsd-ports-gnome-c49801f84a0611383d2bb7256661be299d77427a.tar.zst
freebsd-ports-gnome-c49801f84a0611383d2bb7256661be299d77427a.zip
Substitute hard-coded /usr/X11R6 with ${X11BASE} to avoid installation
problems with non-standard base prefixes. Reported by: pointyhat via kris
Diffstat (limited to 'x11')
-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