summaryrefslogtreecommitdiff
path: root/devel/gnustep-make/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-12 18:36:22 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-12 18:36:22 +0000
commit66c15d6d303148e3a5883a1a6b954fe926283f90 (patch)
treefb16e9f20edf12045ce3dddc2a660208921c996f /devel/gnustep-make/patches
parent9ffb698d5d39bc2035f040b048abf4a84c4a10e0 (diff)
downloadpkgsrc-66c15d6d303148e3a5883a1a6b954fe926283f90.tar.gz
Add DragonFly support. Bump revision.
Diffstat (limited to 'devel/gnustep-make/patches')
-rw-r--r--devel/gnustep-make/patches/patch-aa8
-rw-r--r--devel/gnustep-make/patches/patch-ac48
2 files changed, 50 insertions, 6 deletions
diff --git a/devel/gnustep-make/patches/patch-aa b/devel/gnustep-make/patches/patch-aa
index a914316c08b..435c8bcad0b 100644
--- a/devel/gnustep-make/patches/patch-aa
+++ b/devel/gnustep-make/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/09/27 10:40:17 rh Exp $
+$NetBSD: patch-aa,v 1.2 2006/01/12 18:36:22 joerg Exp $
--- clean_os.sh.orig Wed Mar 6 21:51:06 2002
+++ clean_os.sh
-@@ -22,6 +22,15 @@
+@@ -22,6 +22,19 @@
# Nothing to clean right now
case "$1" in
@@ -15,6 +15,10 @@ $NetBSD: patch-aa,v 1.1.1.1 2002/09/27 10:40:17 rh Exp $
+ echo netbsd
+ exit 0
+ ;;
++ dragonfly*)
++ echo dragonfly
++ exit 0
++ ;;
# Remove version number for FreeBSD
freebsd2*)
echo freebsdaout
diff --git a/devel/gnustep-make/patches/patch-ac b/devel/gnustep-make/patches/patch-ac
index c90b5fce078..7f270e717f2 100644
--- a/devel/gnustep-make/patches/patch-ac
+++ b/devel/gnustep-make/patches/patch-ac
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.4 2005/07/29 12:57:14 adam Exp $
+$NetBSD: patch-ac,v 1.5 2006/01/12 18:36:22 joerg Exp $
---- target.make.orig 2005-07-13 14:56:18.000000000 +0000
+--- target.make.orig 2005-09-19 03:37:15.000000000 +0000
+++ target.make
-@@ -671,9 +671,9 @@ endif
+@@ -674,9 +674,9 @@ endif
####################################################
#
@@ -14,7 +14,7 @@ $NetBSD: patch-ac,v 1.4 2005/07/29 12:57:14 adam Exp $
# This is disabled temporarily, because I don't know exactly how
# to link shared libs. Everything seems to link correctly now but
# constructor functions in the shared lib failed to get called
-@@ -705,7 +705,7 @@ endif
+@@ -708,7 +708,7 @@ endif
#
# NetBSD ELF
#
@@ -23,3 +23,43 @@ $NetBSD: patch-ac,v 1.4 2005/07/29 12:57:14 adam Exp $
HAVE_SHARED_LIBS = yes
SHARED_LD_POSTFLAGS = -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
SHARED_LIB_LINK_CMD = \
+@@ -739,6 +739,39 @@ endif
+
+ ####################################################
+ #
++# DragonFly
++#
++ifeq ($(findstring dragonfly, $(GNUSTEP_TARGET_OS)), dragonfly)
++HAVE_SHARED_LIBS = yes
++SHARED_LD_POSTFLAGS = -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
++SHARED_LIB_LINK_CMD = \
++ $(CC) -shared -Wl,-soname,$(LIB_LINK_VERSION_FILE) \
++ $(ALL_LDFLAGS) -o $(LIB_LINK_OBJ_DIR)/$(LIB_LINK_VERSION_FILE) \
++ $^ $(INTERNAL_LIBRARIES_DEPEND_UPON) \
++ $(SHARED_LD_POSTFLAGS); \
++ (cd $(LIB_LINK_OBJ_DIR); \
++ $(RM_LN_S) $(LIB_LINK_FILE); \
++ $(LN_S) $(LIB_LINK_VERSION_FILE) $(LIB_LINK_FILE))
++OBJ_MERGE_CMD = \
++ $(CC) -nostdlib -r $(ALL_LDFLAGS) -o $(GNUSTEP_OBJ_DIR)/$(SUBPROJECT_PRODUCT) $^ ;
++
++SHARED_CFLAGS += -fPIC
++SHARED_LIBEXT = .so
++
++HAVE_BUNDLES = yes
++BUNDLE_LD = $(CC)
++BUNDLE_LDFLAGS += -shared
++ADDITIONAL_LDFLAGS += -rdynamic -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib
++ADDITIONAL_INCLUDE_DIRS += -I/usr/pkg/include
++STATIC_LDFLAGS += -static
++endif
++#
++# end DragonFly
++#
++####################################################
++
++####################################################
++#
+ # OpenBSD 3.x (though set for 3.3)
+ #
+ ifeq ($(findstring openbsd, $(GNUSTEP_TARGET_OS)), openbsd)