Using PKGCONFIG_OVERRIDE instead of forcing -Wl,-rpath (as recommended by obache@)

This commit is contained in:
Pierre Pronchery 2011-08-03 02:40:17 +00:00 committed by Thomas Klausner
parent bbf51293bc
commit 5656d86f3d
3 changed files with 4 additions and 14 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2011/08/02 23:05:26 khorben Exp $
# $NetBSD: Makefile,v 1.2 2011/08/03 02:40:17 khorben Exp $
#
DISTNAME= openbsc-0.9.13
@ -16,6 +16,8 @@ PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= openbsc.pc.in
GNU_CONFIGURE= yes
.include "../../wip/libosmocore/buildlink3.mk"

View file

@ -1,9 +1,8 @@
$NetBSD: distinfo,v 1.2 2011/08/03 01:27:31 khorben Exp $
$NetBSD: distinfo,v 1.3 2011/08/03 02:40:17 khorben Exp $
SHA1 (openbsc-0.9.13.tar.bz2) = fee3708a165b7a238e9c620eba66270c40c4e5e7
RMD160 (openbsc-0.9.13.tar.bz2) = e4eaae4e623c8268f6aaba882f3bdfeadb1932db
Size (openbsc-0.9.13.tar.bz2) = 430206 bytes
SHA1 (patch-openbsc.pc.in) = 3a37f7dc4f33dc11430249eec8ff3b2518082125
SHA1 (patch-src_ipaccess_Makefile.am) = a9d558c5d6a1b8d9290576b9fb56e1e3fb993b6d
SHA1 (patch-src_ipaccess_Makefile.in) = 42b05bdb9d9b816c68ffc937937271efd053058b
SHA1 (patch-src_ipaccess_ipaccess-find.c) = 8a89b4db7a93396f75c7da239b491667d02a022a

View file

@ -1,11 +0,0 @@
$NetBSD: patch-openbsc.pc.in,v 1.1 2011/08/03 01:27:31 khorben Exp $
--- openbsc.pc.in.orig 2011-03-05 14:16:19.000000000 +0000
+++ openbsc.pc.in
@@ -7,5 +7,5 @@ Name: OpenBSC
Description: OpenBSC base station controller
Requires:
Version: @VERSION@
-Libs: -L${libdir} -lopenbsc
+Libs: -L${libdir} -Wl,-rpath,${libdir} -lopenbsc
Cflags: -I${includedir}