aboutsummaryrefslogtreecommitdiff
path: root/graphics/libGL/bsd.mesalib.mk
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
commit3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch)
treed573ea09b2bf6be67cb497df199932da9e2707c4 /graphics/libGL/bsd.mesalib.mk
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
Notes
Diffstat (limited to 'graphics/libGL/bsd.mesalib.mk')
-rw-r--r--graphics/libGL/bsd.mesalib.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/libGL/bsd.mesalib.mk b/graphics/libGL/bsd.mesalib.mk
index d7b633b79e68..b05eef786dd4 100644
--- a/graphics/libGL/bsd.mesalib.mk
+++ b/graphics/libGL/bsd.mesalib.mk
@@ -32,7 +32,7 @@ USE_LDCONFIG= yes
MAKE_ARGS= SHELL=${SH}
CFLAGS+= -DUSE_XSHM -DHZ=100
-PREFIX= ${X11BASE}
+PREFIX= ${LOCALBASE}
FILESDIR= ${.CURDIR}/../../graphics/libGL/files
WRKSRC= ${WRKDIR}/Mesa-${PORTVERSION}
CONFDIR= ${WRKSRC}/configs
@@ -66,7 +66,7 @@ FAST_MATH= -ffast-math
pre-patch:
@${REINPLACE_CMD} \
-e '/^CC =/d' -e '/^CXX =/d' \
- -e 's|/usr/X11R6|${X11BASE}|g' \
+ -e 's|/usr/X11R6|${LOCALBASE}|g' \
-e 's|/usr/local|${LOCALBASE}|g' \
-e 's|-lpthread|${PTHREAD_LIBS}|g' \
-e 's|-ffast-math|${FAST_MATH}|g' \
@@ -76,9 +76,9 @@ pre-patch:
-e 's|-DHAVE_POSIX_MEMALIGN||' \
${CONFDIR}/freebsd-dri
@${REINPLACE_CMD} \
- -e 's|^\(MKDEP_OPTIONS.*\)|\1 -- -I${X11BASE}/include|' \
- -e 's|^\(MKLIB_OPTIONS.*\)|\1 -L${X11BASE}/lib|' \
- -e 's|^DRI_DRIVER_INSTALL_DIR.*|DRI_DRIVER_INSTALL_DIR = ${X11BASE}/lib/dri|' \
+ -e 's|^\(MKDEP_OPTIONS.*\)|\1 -- -I${LOCALBASE}/include|' \
+ -e 's|^\(MKLIB_OPTIONS.*\)|\1 -L${LOCALBASE}/lib|' \
+ -e 's|^DRI_DRIVER_INSTALL_DIR.*|DRI_DRIVER_INSTALL_DIR = ${LOCALBASE}/lib/dri|' \
${CONFDIR}/default
.if !target(do-install)