summaryrefslogtreecommitdiff
path: root/graphics/grx
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-12-06 16:12:15 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-12-06 16:12:15 +0000
commitd8b56b292cac70222c62a257b841d711f74ab60c (patch)
treef589bb801f4b1692fcc4101ffb7b1e991ce3806a /graphics/grx
parent- Respect X11BASE (diff)
- Really fix X11BASE.
PR: ports/106265 Submitted by: laszlof
Notes
Notes: svn path=/head/; revision=179042
Diffstat (limited to 'graphics/grx')
-rw-r--r--graphics/grx/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/grx/Makefile b/graphics/grx/Makefile
index 8d1fd0138f52..eb4adfd87174 100644
--- a/graphics/grx/Makefile
+++ b/graphics/grx/Makefile
@@ -18,7 +18,8 @@ USE_GMAKE= yes
USE_LDCONFIG= yes
USE_XLIB= yes
HAS_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX} --with-fontpath=${DATADIR}/fonts
+CONFIGURE_ARGS= --prefix=${PREFIX} --with-fontpath=${DATADIR}/fonts \
+ --with-x11-base=${X11BASE}
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
ALL_TARGET= libs
@@ -103,8 +104,7 @@ post-patch:
@${REINPLACE_CMD} -Ee \
's|^(CC[[:blank:]]*=).*|\1 ${CC}|; \
s|^(CCOPT =)|\1 ${CPPFLAGS} ${CFLAGS}|; \
- s|^(LDOPT =)|\1 ${LDFLAGS}|; \
- s|/usr/X11R6|${X11BASE}|' \
+ s|^(LDOPT =)|\1 ${LDFLAGS}|;' \
${WRKSRC}/makedefs.grx
@${REINPLACE_CMD} -e 's/gcc/${CC}/' ${WRKSRC}/src/makefile.[lx]*