aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers
diff options
context:
space:
mode:
authorlaszlof <laszlof@FreeBSD.org>2006-12-01 07:27:04 +0800
committerlaszlof <laszlof@FreeBSD.org>2006-12-01 07:27:04 +0800
commit9c0c4330849cfe223512dc3e78168a12a8af3646 (patch)
tree1f038b6d6250ea46e56fc3e7229f4231c7a96472 /x11-servers
parentad01a4111f89b1f478e41eae4ad5fe6bb68b457d (diff)
downloadfreebsd-ports-graphics-9c0c4330849cfe223512dc3e78168a12a8af3646.tar.gz
freebsd-ports-graphics-9c0c4330849cfe223512dc3e78168a12a8af3646.tar.zst
freebsd-ports-graphics-9c0c4330849cfe223512dc3e78168a12a8af3646.zip
Respect X11BASE.
Approved by: flz (mentor) Reported By: pointyhat
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 59912492342..9cfc0fbfded 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