pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/polyml Provide flag to set correct RPATH in pkg-c...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8bda3fd4fe6e
branches: trunk
changeset: 639703:8bda3fd4fe6e
user: asau <asau%pkgsrc.org@localhost>
date: Tue Sep 23 15:13:23 2014 +0000
description:
Provide flag to set correct RPATH in pkg-config.
diffstat:
lang/polyml/Makefile | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r 4d2f21aafb4c -r 8bda3fd4fe6e lang/polyml/Makefile
--- a/lang/polyml/Makefile Tue Sep 23 15:11:54 2014 +0000
+++ b/lang/polyml/Makefile Tue Sep 23 15:13:23 2014 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2014/09/13 18:23:38 asau Exp $
+# $NetBSD: Makefile,v 1.12 2014/09/23 15:13:23 asau Exp $
DISTNAME= polyml.5.5.2
PKGNAME= polyml-5.5.2
+PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=polyml/}
@@ -17,6 +18,14 @@
USE_LANGUAGES= c c++
TEST_TARGET= tests
+PKGCONFIG_OVERRIDE= libpolyml/polyml.pc.in
+
+SUBST_CLASSES+= rpath
+SUBST_SED.rpath= -e s';-L@libdir@;-L@libdir@ ${COMPILER_RPATH_FLAG}@libdir@;g'
+SUBST_FILES.rpath= libpolyml/polyml.pc.in
+SUBST_STAGE.rpath= pre-configure
+SUBST_MESSAGE.rpath= Adding RPATH flag to pkg-config file.
+
.include "options.mk"
.include "../../devel/libffi/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index