diff options
author | bjs <bjs@pkgsrc.org> | 2007-10-30 05:33:07 +0000 |
---|---|---|
committer | bjs <bjs@pkgsrc.org> | 2007-10-30 05:33:07 +0000 |
commit | 0c6716ab948a65cc82f333d1b8323fec79635b3f (patch) | |
tree | 15bc5fdbd32ce4c5bef061125e3febff7ecd5eff /devel/ncursesw | |
parent | cab42445d308a28f6ea65514b9138fa16f904425 (diff) | |
download | pkgsrc-0c6716ab948a65cc82f333d1b8323fec79635b3f.tar.gz |
Add INSTALLATION_DIRS+=lib and prepand ${DESTDIR} to do-install:
destination paths so that DESTDIR installations work.
I'm not bumping the revision because the resultant binaries should not
be different; please let me know if I should've bumped it.
Diffstat (limited to 'devel/ncursesw')
-rw-r--r-- | devel/ncursesw/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/devel/ncursesw/Makefile b/devel/ncursesw/Makefile index a2c6bf0b3e1..9322f647e59 100644 --- a/devel/ncursesw/Makefile +++ b/devel/ncursesw/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/09/13 23:13:47 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2007/10/30 05:33:07 bjs Exp $ .include "../../devel/ncurses/Makefile.common" @@ -12,14 +12,15 @@ DISTINFO_FILE= ${.CURDIR}/../../devel/ncurses/distinfo CONFIGURE_ARGS+= --enable-widec INSTALLATION_DIRS+= include/ncursesw +INSTALLATION_DIRS+= lib BUILD_TARGET= libs do-install: - ${INSTALL_DATA} ${WRKSRC}/include/curses.h ${PREFIX}/include/ncursesw/ncurses.h + ${INSTALL_DATA} ${WRKSRC}/include/curses.h ${DESTDIR}${PREFIX}/include/ncursesw/ncurses.h for LIB in form menu ncurses++ ncurses panel; do \ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \ - ${WRKSRC}/lib/lib$${LIB}w.la ${PREFIX}/lib; \ + ${WRKSRC}/lib/lib$${LIB}w.la ${DESTDIR}${PREFIX}/lib; \ done BUILDLINK_API_DEPENDS.ncurses+= ncurses-${NC_VERS}{,nb*} |