- Respect X11BASE

Approved by:	portmgr (linimon)
This commit is contained in:
Rong-En Fan 2006-12-09 16:30:59 +00:00
parent ac25324fc1
commit 1c348e4c30
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179317
2 changed files with 17 additions and 0 deletions

View file

@ -258,6 +258,13 @@ post-patch:
's|auxcflags=\"PTHREAD-CFLAGS|auxcflags=\"${PTHREAD_CFLAGS}|;\
s|auxlibs=\"PTHREAD-LIBS|auxlibs=\"${PTHREAD_LIBS}|' \
${WRKSRC}/config/root-config.in
@${REINPLACE_CMD} -e \
's|/usr/X11R6|${X11BASE}|g' \
${WRKSRC}/configure \
${WRKSRC}/cint/lib/gl/setup \
${WRKSRC}/cint/lib/xlib/setup \
${WRKSRC}/config/Makefile.freebsd* \
${WRKSRC}/test/Makefile.arch
.if defined(MAINTAINER_MODE)
test: install

View file

@ -0,0 +1,10 @@
--- asimage/Module.mk.orig Sat Dec 9 23:53:19 2006
+++ asimage/Module.mk Sat Dec 9 23:55:36 2006
@@ -167,6 +167,7 @@
--with-ttf $$TTFINCDIR \
--with-afterbase=no \
--disable-glx \
+ --x-libraries=$(X11BASE)/lib --x-includes=$(X11BASE)/include \
$$MMX \
$(ASTEPDBG) \
--with-builtin-ungif \