Use correct rpath flag on SunOS. Bump PKGREVISION.

This commit is contained in:
jperkin 2014-03-21 13:59:27 +00:00
parent 90546d12da
commit 1eceda42db
3 changed files with 20 additions and 3 deletions

View file

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.5 2014/02/24 16:17:15 joerg Exp $
# $NetBSD: Makefile,v 1.6 2014/03/21 13:59:27 jperkin Exp $
DISTNAME= libDatabase-0.0.0
PKGNAME= deforaos-libdatabase-0.0.0
PKGREVISION= 3
PKGREVISION= 4
CATEGORIES= databases
MASTER_SITES= http://www.defora.org/os/download/download/4287/

View file

@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.1 2013/03/04 22:04:48 khorben Exp $
$NetBSD: distinfo,v 1.2 2014/03/21 13:59:27 jperkin Exp $
SHA1 (libDatabase-0.0.0.tar.gz) = cde77d40a2046109a93527ba061db1fc160c665b
RMD160 (libDatabase-0.0.0.tar.gz) = 71996997cd9e37767f01ce441ce4da855d5f5d07
Size (libDatabase-0.0.0.tar.gz) = 14614 bytes
SHA1 (patch-data_pkgconfig.sh) = 49d2a718140d5f1f938392b317f5861929c9797d

View file

@ -0,0 +1,16 @@
$NetBSD: patch-data_pkgconfig.sh,v 1.1 2014/03/21 13:59:27 jperkin Exp $
Use correct rpath flag on SunOS.
--- data/pkgconfig.sh.orig 2013-01-27 03:39:44.000000000 +0000
+++ data/pkgconfig.sh
@@ -114,6 +114,9 @@ while [ $# -gt 0 ]; do
Darwin)
RPATH="-Wl,-rpath,\${libdir}"
;;
+ SunOS)
+ RPATH="-Wl,-R\${libdir}"
+ ;;
esac
fi