aboutsummaryrefslogtreecommitdiff
path: root/x11-servers
diff options
context:
space:
mode:
authorFrank J. Laszlo <laszlof@FreeBSD.org>2006-11-30 23:27:04 +0000
committerFrank J. Laszlo <laszlof@FreeBSD.org>2006-11-30 23:27:04 +0000
commita959b841d6b78976a8475f5fdd4de88ed357b4cf (patch)
treed9ed6cef7d2661a3c711a49bfc235cb98aaecbad /x11-servers
parent1f9565a38378235609c6fdf114eb4dcb5f17acae (diff)
Respect X11BASE.
Approved by: flz (mentor) Reported By: pointyhat
Notes
Notes: svn path=/head/; revision=178394
Diffstat (limited to 'x11-servers')
-rw-r--r--x11-servers/driglide/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11-servers/driglide/Makefile b/x11-servers/driglide/Makefile
index 59912492342d..9cfc0fbfded4 100644
--- a/x11-servers/driglide/Makefile
+++ b/x11-servers/driglide/Makefile
@@ -28,6 +28,11 @@ ONLY_FOR_ARCHS= i386
# Glide DOES NOT work with CFLAGS greater than -O2
CFLAGS+= -O
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/configure.in
+ @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/h3/glide3/src/Makefile.am
+ @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/h5/glide3/src/Makefile.am
+
pre-configure:
@cd $(WRKSRC) && ${ACLOCAL} -I ${LOCALBASE}/share/aclocal
@${REINPLACE_CMD} -e '/^_LT_AC_SHELL_INIT/d' ${WRKSRC}/aclocal.m4