diff options
author | he <he@pkgsrc.org> | 2017-12-31 11:20:03 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2017-12-31 11:20:03 +0000 |
commit | ac278865b185660e0afd7aed02ab6c8760dfb04c (patch) | |
tree | dffd1d27749a0327ee34f22817329a218fb005e5 /devel | |
parent | 3590a0839b23ef28693fd51ff81cda26da21ac67 (diff) | |
download | pkgsrc-ac278865b185660e0afd7aed02ab6c8760dfb04c.tar.gz |
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 (limited to 'devel')
-rw-r--r-- | devel/gnustep-objc/Makefile | 4 | ||||
-rw-r--r-- | devel/gnustep-objc/buildlink3.mk | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/devel/gnustep-objc/Makefile b/devel/gnustep-objc/Makefile index 77ca8ca5ae0..a340781f304 100644 --- a/devel/gnustep-objc/Makefile +++ b/devel/gnustep-objc/Makefile @@ -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 --git a/devel/gnustep-objc/buildlink3.mk b/devel/gnustep-objc/buildlink3.mk index 156bb523690..6a0d766a38e 100644 --- a/devel/gnustep-objc/buildlink3.mk +++ b/devel/gnustep-objc/buildlink3.mk @@ -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_ABI_DEPENDS.gnustep-objc+= gnustep-objc>=1.3.0nb1 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 |