pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ncurses Fix ncurses-config to provide rpath.
details: https://anonhg.NetBSD.org/pkgsrc/rev/17abd8262dd0
branches: trunk
changeset: 639544:17abd8262dd0
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Sep 16 09:45:58 2014 +0000
description:
Fix ncurses-config to provide rpath.
Bump PKGREVISION.
diffstat:
devel/ncurses/Makefile | 4 ++--
devel/ncurses/Makefile.common | 10 +++++++++-
2 files changed, 11 insertions(+), 3 deletions(-)
diffs (40 lines):
diff -r f3ebdaa31c16 -r 17abd8262dd0 devel/ncurses/Makefile
--- a/devel/ncurses/Makefile Tue Sep 16 08:47:11 2014 +0000
+++ b/devel/ncurses/Makefile Tue Sep 16 09:45:58 2014 +0000
@@ -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 -r f3ebdaa31c16 -r 17abd8262dd0 devel/ncurses/Makefile.common
--- a/devel/ncurses/Makefile.common Tue Sep 16 08:47:11 2014 +0000
+++ b/devel/ncurses/Makefile.common Tue Sep 16 09:45:58 2014 +0000
@@ -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-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"
Home |
Main Index |
Thread Index |
Old Index