diff options
author | wiz <wiz@pkgsrc.org> | 2014-09-16 09:45:58 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2014-09-16 09:45:58 +0000 |
commit | 7ed381e3938a2ad2bb68f905784c0a55f0f904fe (patch) | |
tree | e360af2046e0ffdfe78d92c358d4b40438adfe30 /devel/ncurses | |
parent | 950125273da23241cc3df4e246565e28f97cbd8f (diff) | |
download | pkgsrc-7ed381e3938a2ad2bb68f905784c0a55f0f904fe.tar.gz |
Fix ncurses-config to provide rpath.
Bump PKGREVISION.
Diffstat (limited to 'devel/ncurses')
-rw-r--r-- | devel/ncurses/Makefile | 4 | ||||
-rw-r--r-- | devel/ncurses/Makefile.common | 10 |
2 files changed, 11 insertions, 3 deletions
diff --git a/devel/ncurses/Makefile b/devel/ncurses/Makefile index a61e5936813..94b9e6dc4e0 100644 --- a/devel/ncurses/Makefile +++ b/devel/ncurses/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.89 2014/06/09 10:28:10 jperkin Exp $ +# $NetBSD: Makefile,v 1.90 2014/09/16 09:45:58 wiz Exp $ .include "Makefile.common" COMMENT= CRT screen handling and optimization package -PKGREVISION= 3 +PKGREVISION= 4 INSTALLATION_DIRS+= share/examples diff --git a/devel/ncurses/Makefile.common b/devel/ncurses/Makefile.common index 499d47ee206..41f2dea2a83 100644 --- a/devel/ncurses/Makefile.common +++ b/devel/ncurses/Makefile.common @@ -1,5 +1,6 @@ -# $NetBSD: Makefile.common,v 1.23 2014/09/02 09:49:50 jperkin Exp $ +# $NetBSD: Makefile.common,v 1.24 2014/09/16 09:45:58 wiz Exp $ # +# used by devel/ncurses/Makefile # used by devel/ncursesw/Makefile DISTNAME= ncurses-${NC_VERS} @@ -31,6 +32,13 @@ CONFIGURE_ARGS+= --with-default-terminfo-dir=${PREFIX}/${TERMINFODIR} CONFIGURE_ARGS+= --with-terminfo-dirs=${PREFIX}/${TERMINFODIR} CONFIGURE_ARGS+= --includedir=${PREFIX}/include/ncurses + +SUBST_CLASSES+= rpath +SUBST_FILES.rpath+= misc/ncurses-config +SUBST_STAGE.rpath= post-configure +SUBST_SED.rpath+= -e "s|-L\\(.libdir\\)|${COMPILER_RPATH_FLAG}\\1 -L\\1|" +SUBST_MESSAGE.rpath= Fixing rpath in ncurses-config. + .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "Darwin" |