- Respect X11BASE

Reported by:	pointyhat
This commit is contained in:
Rong-En Fan 2006-12-11 08:06:19 +00:00
parent 2daaefb95e
commit b7a4d521a3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179475
2 changed files with 3 additions and 1 deletions

View file

@ -20,6 +20,7 @@ LIB_DEPENDS= otcl.1:${PORTSDIR}/lang/otcl
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_XLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tcl-ver=8.4 --with-tk-ver=8.4
MAKE_ARGS= CCOPT="${CXXFLAGS}"

View file

@ -26,7 +26,8 @@ DOCS= COPYING HISTORY LICENSE
REINPLACE_ARGS= -i'' -E
post-patch:
${REINPLACE_CMD} 's:^CFLAGS:IGNORE:g ; s:^DEFINES:IGNORE:g' \
${REINPLACE_CMD} 's:^CFLAGS:IGNORE:g ; s:^DEFINES:IGNORE:g ;\
s:/usr/X11R6:${X11BASE}:g' \
${WRKSRC}/Makefile
${REINPLACE_CMD} 's:./clementine:${PREFIX}/bin/clementine:g' \
${WRKSRC}/windowmanager.cpp