pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/gnustep-objc At least on NetBSD, gnustep-objc's ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b8631bbebabf
branches:  trunk
changeset: 373350:b8631bbebabf
user:      he <he%pkgsrc.org@localhost>
date:      Sun Dec 31 11:20:03 2017 +0000

description:
At least on NetBSD, gnustep-objc's libobjc.so ends up with various
_Unwind_* symbols undefined, and apparently they can come from -lgcc_s.
Being cautious, link in -lgcc_s on NetBSD only so far.
Bump PKGREVISION.

diffstat:

 devel/gnustep-objc/Makefile      |  4 ++--
 devel/gnustep-objc/buildlink3.mk |  6 +++++-
 2 files changed, 7 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 187710731b6e -r b8631bbebabf devel/gnustep-objc/Makefile
--- a/devel/gnustep-objc/Makefile       Sun Dec 31 08:54:00 2017 +0000
+++ b/devel/gnustep-objc/Makefile       Sun Dec 31 11:20:03 2017 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.30 2017/08/01 17:40:10 wiz Exp $
+# $NetBSD: Makefile,v 1.31 2017/12/31 11:20:03 he Exp $
 
 DISTNAME=      libobjc2-1.6.1
 PKGNAME=       ${DISTNAME:S/libobjc2/gnustep-objc/}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    devel gnustep
 MASTER_SITES=  http://download.gna.org/gnustep/
 EXTRACT_SUFX=  .tar.bz2
diff -r 187710731b6e -r b8631bbebabf devel/gnustep-objc/buildlink3.mk
--- a/devel/gnustep-objc/buildlink3.mk  Sun Dec 31 08:54:00 2017 +0000
+++ b/devel/gnustep-objc/buildlink3.mk  Sun Dec 31 11:20:03 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2012/05/07 01:53:22 dholland Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2017/12/31 11:20:03 he Exp $
 
 BUILDLINK_TREE+=       gnustep-objc
 
@@ -10,6 +10,10 @@
 BUILDLINK_PKGSRCDIR.gnustep-objc?=     ../../devel/gnustep-objc
 
 BUILDLINK_LDFLAGS.gnustep-objc+=       -lobjc -lpthread
+.if ${OPSYS} == "NetBSD"
+# Missing _Unwind_* symbols in gnustep objc.so, needs to come from somewhere...
+BUILDLINK_LDFLAGS.gnustep-objc+=       -lgcc_s
+.endif
 
 .include "../../devel/gnustep-make/buildlink3.mk"
 .endif # GNUSTEP_OBJC_BUILDLINK3_MK



Home | Main Index | Thread Index | Old Index