diff options
author | rafan <rafan@FreeBSD.org> | 2006-08-14 04:16:20 +0000 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2006-08-14 04:16:20 +0000 |
commit | 0b974f1b24ba353302d6afbbbef245b2146938b3 (patch) | |
tree | c65829e49e02ab082ae6ab8990ceb27cae39a561 /devel/ncurses | |
parent | d1ea9a316fdb9e8d87d095efdba4fd114b8c1b83 (diff) | |
download | FreeBSD-ports-0b974f1b24ba353302d6afbbbef245b2146938b3.zip FreeBSD-ports-0b974f1b24ba353302d6afbbbef245b2146938b3.tar.gz |
- Respect DESTDIR
- s/INSTALLS_SHLIB/USE_LDCONFIG/
PR: ports/101879
Submitted by: Gea-Suan Lin <gslin at gslin.org>
Diffstat (limited to 'devel/ncurses')
-rw-r--r-- | devel/ncurses/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/devel/ncurses/Makefile b/devel/ncurses/Makefile index 7643585..240de56 100644 --- a/devel/ncurses/Makefile +++ b/devel/ncurses/Makefile @@ -19,23 +19,25 @@ NO_FILTER_SHLIBS= no GNU_CONFIGURE= yes CONFIGURE_SCRIPT=../configure -CONFIGURE_ARGS= --datadir=${PREFIX}/share/misc --disable-overwrite \ +CONFIGURE_ARGS= --datadir=${TARGETDIR}/share/misc --disable-overwrite \ --enable-termcap --disable-database --enable-getcap \ --enable-colorfgbg --enable-bsdpad --disable-home-terminfo \ - --includedir=${PREFIX}/include/ncurses \ + --includedir=${TARGETDIR}/include/ncurses \ --with-profile --with-shared --without-debug \ --without-curses-h --with-termlib --program-prefix= \ --enable-safe-sprintf --disable-root-environ \ --with-manpage-format=gzip --srcdir=../ +USE_LDCONFIG= yes + # needed by devel/py-ncurses port .if defined(WITH_TRACE) CONFIGURE_ARGS+= --with-trace .endif -LDFLAGS+= -rpath ${PREFIX}/lib +LDFLAGS+= -rpath ${TARGETDIR}/lib CONFIGURE_ENV= gnat_exists="no" \ - ac_cv_path_LDCONFIG="${LDCONFIG} -m ${PREFIX}/lib" \ + ac_cv_path_LDCONFIG="${LDCONFIG} -m ${TARGETDIR}/lib" \ LDFLAGS="${LDFLAGS}" WIDEC_WRKSRC= ${WRKSRC}/build.widec @@ -49,10 +51,9 @@ BUILD_WRKSRC= ${NOWIDEC_WRKSRC} INSTALL_WRKSRC= ${NOWIDEC_WRKSRC} PLIST_SUB+= PORTVERSION=${PORTVERSION} \ - WIDEC_EXAMPLESDIR=${WIDEC_EXAMPLESDIR:S,${PREFIX}/,,} \ - NOWIDEC_EXAMPLESDIR=${NOWIDEC_EXAMPLESDIR:S,${PREFIX}/,,} + WIDEC_EXAMPLESDIR=${WIDEC_EXAMPLESDIR:S,${TARGETDIR}/,,} \ + NOWIDEC_EXAMPLESDIR=${NOWIDEC_EXAMPLESDIR:S,${TARGETDIR}/,,} -INSTALLS_SHLIB= yes MANCOMPRESSED= yes MAN1= captoinfo.1m clear.1 infocmp.1m infotocap.1m reset.1 tack.1 \ tic.1m toe.1m tput.1 tset.1 @@ -260,7 +261,7 @@ post-install: .endif ${INSTALL_DATA} ${WRKSRC}/misc/terminfo.src \ - ${PREFIX}/share/misc/terminfo + ${TARGETDIR}/share/misc/terminfo .for i in ${EXAMPLES_TARGETS} ${MKDIR} ${${i}_EXAMPLESDIR}/c++ |