pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libre: add rpath to pkg-config file.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Wed Sep 7 20:43:02 2016 +0200
Changeset:	2c1b872edd35f289e7b884c6dec415f915eaf4b9

Modified Files:
	libre/Makefile

Log Message:
libre: add rpath to pkg-config file.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2c1b872edd35f289e7b884c6dec415f915eaf4b9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libre/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diffs:
diff --git a/libre/Makefile b/libre/Makefile
index 3cc9f96..012fd8b 100644
--- a/libre/Makefile
+++ b/libre/Makefile
@@ -2,6 +2,7 @@
 
 DISTNAME=	re-0.4.17
 PKGNAME=	lib${DISTNAME}
+PKGREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://www.creytiv.com/pub/
 
@@ -19,6 +20,7 @@ SUBST_FILES.prefix=	Makefile
 SUBST_MESSAGE.prefix=	Fixing PREFIX path.
 SUBST_SED.prefix=	-e "s|/usr/local|${PREFIX}|1"
 SUBST_SED.prefix+=	-e "s|/usr|${PREFIX}|1"
+SUBST_SED.prefix+=	-e "s|} -lre|} ${COMPILER_RPATH_FLAG}"'$$$$'"{libdir} -lre|"
 SUBST_STAGE.prefix=	post-patch
 
 SUBST_CLASSES+=		re


Home | Main Index | Thread Index | Old Index