summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2015-08-23 14:40:57 +0000
committerkhorben <khorben@pkgsrc.org>2015-08-23 14:40:57 +0000
commitba114242371c172d0ca78d73d63f858710e5408e (patch)
treefbe01c22ac1a3a3fb28c39cd1de8f6ad0402f4f9
parent9407732a30eeee8410241444fa950ba04d4c08e9 (diff)
downloadpkgsrc-ba114242371c172d0ca78d73d63f858710e5408e.tar.gz
Package DeforaOS libSystem 0.2.2
Among the changes: - extended String API (trimming) - reworked the Array and Config classes - build with SSP and PIE by default - fixes and improvements to the build system - additional tests
-rw-r--r--devel/deforaos-libsystem/Makefile8
-rw-r--r--devel/deforaos-libsystem/buildlink3.mk4
-rw-r--r--devel/deforaos-libsystem/distinfo10
-rw-r--r--devel/deforaos-libsystem/patches/patch-src_Makefile24
4 files changed, 25 insertions, 21 deletions
diff --git a/devel/deforaos-libsystem/Makefile b/devel/deforaos-libsystem/Makefile
index f6fc35e121a..aa045547bd2 100644
--- a/devel/deforaos-libsystem/Makefile
+++ b/devel/deforaos-libsystem/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.11 2015/08/09 14:55:58 khorben Exp $
+# $NetBSD: Makefile,v 1.12 2015/08/23 14:40:57 khorben Exp $
#
-DISTNAME= libSystem-0.2.1
-PKGNAME= deforaos-libsystem-0.2.1
+DISTNAME= libSystem-0.2.2
+PKGNAME= deforaos-libsystem-0.2.2
CATEGORIES= devel
-MASTER_SITES= http://www.defora.org/os/download/download/4351/
+MASTER_SITES= http://www.defora.org/os/download/download/4359/
MAINTAINER= khorben@defora.org
HOMEPAGE= http://www.defora.org/
diff --git a/devel/deforaos-libsystem/buildlink3.mk b/devel/deforaos-libsystem/buildlink3.mk
index 4a5de7e43e4..ebc7d973e4a 100644
--- a/devel/deforaos-libsystem/buildlink3.mk
+++ b/devel/deforaos-libsystem/buildlink3.mk
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.1 2012/12/16 23:55:22 khorben Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2015/08/23 14:40:57 khorben Exp $
BUILDLINK_TREE+= deforaos-libsystem
.if !defined(DEFORAOS_LIBSYSTEM_BUILDLINK3_MK)
DEFORAOS_LIBSYSTEM_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.deforaos-libsystem+= deforaos-libsystem>=0.1.2
+BUILDLINK_API_DEPENDS.deforaos-libsystem+= deforaos-libsystem>=0.2.2
BUILDLINK_PKGSRCDIR.deforaos-libsystem?= ../../devel/deforaos-libsystem
.endif # DEFORAOS_LIBSYSTEM_BUILDLINK3_MK
diff --git a/devel/deforaos-libsystem/distinfo b/devel/deforaos-libsystem/distinfo
index c836201bc41..3af8d4af5e5 100644
--- a/devel/deforaos-libsystem/distinfo
+++ b/devel/deforaos-libsystem/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2015/05/20 23:08:37 khorben Exp $
+$NetBSD: distinfo,v 1.7 2015/08/23 14:40:57 khorben Exp $
-SHA1 (libSystem-0.2.1.tar.gz) = a99a1a5aa5aa0c5516725263cb937a30186ee5db
-RMD160 (libSystem-0.2.1.tar.gz) = 635dfe01c777238dd60aa771bab75ef05f4d6795
-Size (libSystem-0.2.1.tar.gz) = 63274 bytes
-SHA1 (patch-src_Makefile) = 98c22cc28de9bff4517c4880711a70741f5b18f2
+SHA1 (libSystem-0.2.2.tar.gz) = faea622043ea4b5c1a65ff9d92d47ae9e3939867
+RMD160 (libSystem-0.2.2.tar.gz) = f7fc7329c61f69893c646fe61f62855c04f1ee50
+Size (libSystem-0.2.2.tar.gz) = 65486 bytes
+SHA1 (patch-src_Makefile) = 8c2a2c7c453bc91b1acce3f47a94f0503810a97a
SHA1 (patch-tests_tests.sh) = b28b5557303cec42c1b24a6c5328fbca9b763366
diff --git a/devel/deforaos-libsystem/patches/patch-src_Makefile b/devel/deforaos-libsystem/patches/patch-src_Makefile
index a1be5f72d51..318f96b0894 100644
--- a/devel/deforaos-libsystem/patches/patch-src_Makefile
+++ b/devel/deforaos-libsystem/patches/patch-src_Makefile
@@ -1,13 +1,17 @@
-$NetBSD: patch-src_Makefile,v 1.2 2015/05/20 23:08:37 khorben Exp $
+$NetBSD: patch-src_Makefile,v 1.3 2015/08/23 14:40:57 khorben Exp $
-Do not try to build targets that are created by existing targets, causes
-problems with parallel builds and is unnecessary.
+Always force -fPIC when compiling library code
---- src/Makefile.orig 2015-05-10 22:19:30.000000000 +0000
+--- src/Makefile.orig 2015-08-10 23:56:33.000000000 +0000
+++ src/Makefile
-@@ -1,4 +1,4 @@
--TARGETS = $(OBJDIR)libSystem.a $(OBJDIR)libSystem.so.0.0 $(OBJDIR)libSystem.so.0 $(OBJDIR)libSystem.so
-+TARGETS = $(OBJDIR)libSystem.a $(OBJDIR)libSystem.so.0.0
- OBJDIR =
- PREFIX = /usr/local
- DESTDIR =
+@@ -6,8 +6,8 @@ LIBDIR = $(PREFIX)/lib
+ CC = cc
+ CPPFLAGSF= -I ../include
+ CPPFLAGS=
+-CFLAGSF =
+-CFLAGS = -W -Wall -g -O2 -pedantic -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-all
++CFLAGSF = -fPIC
++CFLAGS = -W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all
+ LDFLAGSF=
+ AR = ar
+ RANLIB = ranlib