diff options
author | marcus <marcus@FreeBSD.org> | 2005-10-28 10:39:32 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2005-10-28 10:39:32 +0800 |
commit | c49801f84a0611383d2bb7256661be299d77427a (patch) | |
tree | dd444aebd9eeecdb21a2f2ab29f60585fc173f41 /x11/xscreensaver-gnome | |
parent | 7e21e43fa05db7a7c2b7f3fdd79f52e55a9116aa (diff) | |
download | freebsd-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/xscreensaver-gnome')
-rw-r--r-- | x11/xscreensaver-gnome/Makefile | 3 |
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 |