Correct the use of PREFIX (where we insall ourselves) and LOCALBASE

(where we find other packages). This makes no difference in most
cases...

PR:	82645
Submitted by: Vsevolod Stakhov
This commit is contained in:
Mikhail Teterin 2005-06-29 15:20:02 +00:00
parent 2332baba7f
commit 9cd8cc16dd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138193
2 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ PATCH_DIST_ARGS= -d ${WRKDIR}/${DISTNAME} -E ${PATCH_DIST_STRIP}
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/unix
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --includedir=${LOCALBASE}/include/tcl${TCL_VER}
CONFIGURE_ARGS= --enable-shared --includedir=${PREFIX}/include/tcl${TCL_VER}
CONFIGURE_ENV= PORTSDIR=${PORTSDIR}
MAKE_ENV= SHORT_TCL_VER=84
PKGINSTALL= ${PKGDIR}/pkg-install.tclsh

View file

@ -26,8 +26,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/unix
GNU_CONFIGURE= yes
TK_VER= 8.4
SHORT_TK_VER= 84
CONFIGURE_ARGS= --enable-shared --with-tcl=${PREFIX}/lib/tcl${TK_VER} \
--includedir=${LOCALBASE}/include/tk${TK_VER}
CONFIGURE_ARGS= --enable-shared --with-tcl=${LOCALBASE}/lib/tcl${TK_VER} \
--includedir=${PREFIX}/include/tk${TK_VER}
CONFIGURE_ENV= PORTSDIR=${PORTSDIR} TK_LIB_FILE=libtk${SHORT_TK_VER}.so.1
MAKE_ENV= SHORT_TK_VER=${SHORT_TK_VER}
PLIST_SUB= TK_VER=${TK_VER} SHORT_TK_VER=${SHORT_TK_VER}