1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Respect X11BASE

Reported by:	pointyhat
Approved by:	portmgr (linimon)
This commit is contained in:
Rong-En Fan 2006-12-11 11:01:58 +00:00
parent 922c9826cf
commit b1984f0312
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179486
2 changed files with 8 additions and 1 deletions

View File

@ -59,6 +59,11 @@ post-patch:
@${REINPLACE_CMD} -e '/^install :: install_notes/d ; \ @${REINPLACE_CMD} -e '/^install :: install_notes/d ; \
/^install :: install_guide/d' \ /^install :: install_guide/d' \
${WRKSRC}/src/MkInstal.in ${WRKSRC}/src/MkInstal.in
@${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},g' \
${WRKSRC}/packages/OpenGL/configure \
${WRKSRC}/packages/GLUT/configure \
${WRKSRC}/packages/X11/configure \
${WRKSRC}/packages/HGL/configure
do-build: do-build:
. for dir in src libraries docs . for dir in src libraries docs

View File

@ -27,7 +27,9 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
ALL_TARGET= # empty ALL_TARGET= # empty
CONFIGURE_ARGS= --with-cc=${CC} \ CONFIGURE_ARGS= --with-cc=${CC} \
--with-cxx=${CXX} --with-cxx=${CXX} \
--x-libraries=${X11BASE}/lib \
--x-includes=${X11BASE}/include
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>