From 418a8491949612b66b600982ddabb3c035c2c27e Mon Sep 17 00:00:00 2001 From: asau Date: Tue, 23 Sep 2014 15:13:23 +0000 Subject: Provide flag to set correct RPATH in pkg-config. --- lang/polyml/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'lang') diff --git a/lang/polyml/Makefile b/lang/polyml/Makefile index 15dbc2a65bb..34222ca3ef0 100644 --- a/lang/polyml/Makefile +++ b/lang/polyml/Makefile @@ -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_LIBTOOL= yes 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" -- cgit v1.2.3