diff options
author | fhajny <fhajny@pkgsrc.org> | 2012-06-26 12:33:43 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2012-06-26 12:33:43 +0000 |
commit | 22199edee86327f5dd938e02b3a7aa0512f2be94 (patch) | |
tree | 23275cf26d545e35c8fe76901a6bd5468e20c6ee /devel | |
parent | 709b8443c9f1e23a7ea34061a0126eb1180f7c33 (diff) | |
download | pkgsrc-22199edee86327f5dd938e02b3a7aa0512f2be94.tar.gz |
Fix missing rpath information on SunOS. Bump PKGREVISION.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/poco/Makefile | 4 | ||||
-rw-r--r-- | devel/poco/distinfo | 4 | ||||
-rw-r--r-- | devel/poco/patches/patch-build_config_SunOS-GCC | 25 |
3 files changed, 26 insertions, 7 deletions
diff --git a/devel/poco/Makefile b/devel/poco/Makefile index ff5a9dad47f..f08a79fff96 100644 --- a/devel/poco/Makefile +++ b/devel/poco/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.5 2012/03/03 00:12:57 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2012/06/26 12:33:43 fhajny Exp $ # PKGNAME= poco-${POCO_VERSION} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= devel COMMENT= POCO C++ Foundation libraries diff --git a/devel/poco/distinfo b/devel/poco/distinfo index 7cf7d36dcc3..50a1e5bba24 100644 --- a/devel/poco/distinfo +++ b/devel/poco/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2012/06/11 12:40:32 fhajny Exp $ +$NetBSD: distinfo,v 1.7 2012/06/26 12:33:43 fhajny Exp $ SHA1 (poco-1.4.2p1-all.tar.gz) = ef1bc69812179b7856c88aa4b5c157747c0a0e48 RMD160 (poco-1.4.2p1-all.tar.gz) = 8288c10e3e96de26f56296da0bbbebff58b8b424 @@ -15,4 +15,4 @@ SHA1 (patch-ag) = 945a594376393462e1cc0f881532d2294adf5816 SHA1 (patch-ah) = f8debbf7b416fc562f5af321be739e0d4481a130 SHA1 (patch-ai) = 9feef00a05372578d957c68b53657e6468f65f6a SHA1 (patch-build_config_Linux) = ba79d12efeea09e0e24e0d95a457dcbce265cd75 -SHA1 (patch-build_config_SunOS-GCC) = d9d63bf2945498b9123bdbca623b1f1469b01838 +SHA1 (patch-build_config_SunOS-GCC) = 3ac6708099fb7a51d57fa443f5b94580a0c87a45 diff --git a/devel/poco/patches/patch-build_config_SunOS-GCC b/devel/poco/patches/patch-build_config_SunOS-GCC index 01e0718587f..ebe3a4cd432 100644 --- a/devel/poco/patches/patch-build_config_SunOS-GCC +++ b/devel/poco/patches/patch-build_config_SunOS-GCC @@ -1,9 +1,28 @@ -$NetBSD: patch-build_config_SunOS-GCC,v 1.1 2012/06/11 12:40:32 fhajny Exp $ +$NetBSD: patch-build_config_SunOS-GCC,v 1.2 2012/06/26 12:33:43 fhajny Exp $ _XOPEN_SOURCE=600 or higher is needed on SunOS and GCC>=4.6. ---- build/config/SunOS-GCC.orig 2010-12-16 05:43:24.000000000 +0000 +Fix missing rpath on SunOS. +--- build/config/SunOS-GCC.orig 2011-09-24 08:06:59.000000000 +0000 +++ build/config/SunOS-GCC -@@ -63,9 +63,9 @@ RELEASEOPT_LINK = -O2 +@@ -21,6 +21,8 @@ LINK = $(CXX) + LIB = ar -cr + RANLIB = ranlib + SHLIB = $(CXX) -shared -Wl,-soname,$(notdir $@) -o $@ ++SHLIBFLAGS = $(LDFLAGS) -Wl,-R$(POCO_PREFIX)/lib \ ++ $(foreach p,$(sort $(POCO_ADD_LIBRARY)),-L$(p) -Wl,-R$(p)) + SHLIBLN = $(POCO_BASE)/build/script/shlibln + STRIP = strip + DEP = $(POCO_BASE)/build/script/makedepend.gcc +@@ -52,7 +54,7 @@ STATICOPT_CXX = + STATICOPT_LINK = -static + SHAREDOPT_CC = -fPIC + SHAREDOPT_CXX = -fPIC +-SHAREDOPT_LINK = -Wl,-rpath,$(LIBPATH) ++SHAREDOPT_LINK = -Wl,-R$(POCO_PREFIX)/lib -L$(LIBPATH) + DEBUGOPT_CC = -g -D_DEBUG + DEBUGOPT_CXX = -g -D_DEBUG + DEBUGOPT_LINK = -g +@@ -63,9 +65,9 @@ RELEASEOPT_LINK = -O2 # # System Specific Flags # |