summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2011-03-31 09:03:21 +0000
committerasau <asau@pkgsrc.org>2011-03-31 09:03:21 +0000
commit066558205682178e43e1e509101d44bc9d392396 (patch)
tree05c204f3b2b7e437ddea2d701f81e9d348679b50 /lang
parent8ca4fb0dfdc3b68b8621bdc2ab162702db3042de (diff)
downloadpkgsrc-066558205682178e43e1e509101d44bc9d392396.tar.gz
Build fix: always pass "--tag" parameter to libtool.
Support staged installation.
Diffstat (limited to 'lang')
-rw-r--r--lang/gwydion-dylan/Makefile3
-rw-r--r--lang/gwydion-dylan/distinfo4
-rw-r--r--lang/gwydion-dylan/patches/patch-aa272
3 files changed, 266 insertions, 13 deletions
diff --git a/lang/gwydion-dylan/Makefile b/lang/gwydion-dylan/Makefile
index b00332358b7..669ee3d2ca4 100644
--- a/lang/gwydion-dylan/Makefile
+++ b/lang/gwydion-dylan/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2010/04/28 23:31:57 dholland Exp $
+# $NetBSD: Makefile,v 1.10 2011/03/31 09:03:21 asau Exp $
#
DISTNAME= gwydion-dylan-${DYLAN_VERSION}
@@ -12,6 +12,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.opendylan.org/
COMMENT= Functional language
+PKG_DESTDIR_SUPPORT= user-destdir
MAKE_JOBS_SAFE= no
USE_TOOLS+= gmake perl
diff --git a/lang/gwydion-dylan/distinfo b/lang/gwydion-dylan/distinfo
index 6cfccd9e23a..c405b3dd944 100644
--- a/lang/gwydion-dylan/distinfo
+++ b/lang/gwydion-dylan/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.3 2007/11/05 07:14:51 rillig Exp $
+$NetBSD: distinfo,v 1.4 2011/03/31 09:03:21 asau Exp $
SHA1 (gwydion-dylan-2.4.0.tar.gz) = 6fea71a876013fff94a37f8a84fdc5d8245e8c9f
RMD160 (gwydion-dylan-2.4.0.tar.gz) = 2bd5218e1dd36182489e1854c92ae6baf5690974
Size (gwydion-dylan-2.4.0.tar.gz) = 3623651 bytes
-SHA1 (patch-aa) = 9cc842772e56f389572031e0550606c00fc740f5
+SHA1 (patch-aa) = 292d7af8f45923593a5f3206aea2ce023e38edb5
SHA1 (patch-ab) = 155336fc1d07f10d675b95d4c2b524b8bfbbaa4e
SHA1 (patch-ac) = 436d1e853e724c5d4ea4d9c83a6f267124f9402b
SHA1 (patch-ad) = 5364bc178130ffc9100ec795b9195255e8e91835
diff --git a/lang/gwydion-dylan/patches/patch-aa b/lang/gwydion-dylan/patches/patch-aa
index 11232c6c481..5082694b4cc 100644
--- a/lang/gwydion-dylan/patches/patch-aa
+++ b/lang/gwydion-dylan/patches/patch-aa
@@ -1,23 +1,275 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/12/31 22:42:31 markd Exp $
+$NetBSD: patch-aa,v 1.2 2011/03/31 09:03:21 asau Exp $
---- d2c/compiler/platforms.descr.orig 2004-10-18 08:17:02.000000000 +1300
-+++ d2c/compiler/platforms.descr
-@@ -590,6 +590,18 @@ inherit-from: gcc netbsd x86
- default-c-compiler-flags: -I. -I%s -I/usr/X11R6/include -fomit-frame-pointer -fno-strict-aliasing
- link-shared-library-command: $(LIBTOOL) --mode=link gcc -o %s %s -rpath %s
+Add support for NetBSD/ppc and NetBSD/sparc.
+Always pass "--tag=CC" to libtool.
+
+--- d2c/compiler/platforms.descr.orig 2004-10-17 23:17:02.000000000 +0400
++++ d2c/compiler/platforms.descr 2011-03-31 11:05:47.000000000 +0400
+@@ -452,14 +452,14 @@
+ platform-name: gcc
+ default-features: C-compiler-is-GCC
+ compile-c-command: gcc $(CCFLAGS) -c %s -o %s
+-compile-c-for-shared-command: $(LIBTOOL) --mode=compile gcc $(CCFLAGS) -c %s -o %s
++compile-c-for-shared-command: $(LIBTOOL) --mode=compile --tag=CC gcc $(CCFLAGS) -c %s -o %s
+ default-c-compiler-flags: -I. -I%s -O2 -fomit-frame-pointer -fno-strict-aliasing
+ default-c-compiler-debug-flags: -I. -I%s -g -O -fno-inline-functions
+ default-c-compiler-profile-flags: -I. -I%s -pg -g -O -fno-inline-functions
+ assembler-command: gcc $(CCFLAGS) -c %s -o %s
+ link-library-command: ar qc %s %s
+-link-executable-command: $(LIBTOOL) --mode=link gcc -o %s %s %s
+-link-shared-executable-command: $(LIBTOOL) --mode=link gcc -o %s %s %s
++link-executable-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s %s
++link-shared-executable-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s %s
+ link-executable-flags: $(GC_LIBS) -lm
+ link-debug-flags: -g
+ link-profile-flags: -pg -g
+@@ -468,42 +468,42 @@
+ platform-name: beos-gcc
+ default-features: C-compiler-is-GCC
+ compile-c-command: gcc $(CCFLAGS) -c %s -o %s
+-compile-c-for-shared-command: $(LIBTOOL) --mode=compile gcc $(CCFLAGS) -c %s -o %s
++compile-c-for-shared-command: $(LIBTOOL) --mode=compile --tag=CC gcc $(CCFLAGS) -c %s -o %s
+ default-c-compiler-flags: -I. -I%s -g -O3
+ default-c-compiler-debug-flags: -I. -I%s -g -O -fno-inline-functions
+ default-c-compiler-profile-flags: -I. -I%s -pg -g -O -fno-inline-functions
+ assembler-command: gcc $(CCFLAGS) -c %s -o %s
+ link-library-command: ar qc %s %s
+-link-executable-command: $(LIBTOOL) --mode=link gcc -o %s %s %s
+-link-shared-executable-command: $(LIBTOOL) --mode=link gcc -o %s %s %s
++link-executable-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s %s
++link-shared-executable-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s %s
+ link-executable-flags:
+ path-separator: /
+
+ platform-name: mac-cw
+ default-features: C-compiler-is-GCC
+ compile-c-command: gcc $(CCFLAGS) -c %s -o %s
+-compile-c-for-shared-command: $(LIBTOOL) --mode=compile gcc $(CCFLAGS) -c %s -o %s
++compile-c-for-shared-command: $(LIBTOOL) --mode=compile --tag=CC gcc $(CCFLAGS) -c %s -o %s
+ default-c-compiler-flags: -I. -I%s -g -O4 -finline-functions
+ default-c-compiler-debug-flags: -I. -I%s -g -O -fno-inline-functions
+ default-c-compiler-profile-flags: -I. -I%s -pg -g -O -fno-inline-functions
+ assembler-command: gcc $(CCFLAGS) -c %s -o %s
+ link-library-command: ar qc %s %s
+-link-executable-command: $(LIBTOOL) --mode=link gcc -o %s %s %s
+-link-shared-executable-command: $(LIBTOOL) --mode=link gcc -o %s %s %s
++link-executable-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s %s
++link-shared-executable-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s %s
+ link-executable-flags: $(GC_LIBS) -lm
+ path-separator: :
+
+ platform-name: egcs
+ default-features: C-compiler-is-EGCS
+ compile-c-command: cc $(CCFLAGS) -c %s -o %s
+-compile-c-for-shared-command: $(LIBTOOL) --mode=compile cc $(CCFLAGS) -c %s -o %s
++compile-c-for-shared-command: $(LIBTOOL) --mode=compile --tag=CC cc $(CCFLAGS) -c %s -o %s
+ default-c-compiler-flags: -I. -I%s -O2 -fomit-frame-pointer
+ default-c-compiler-debug-flags: -I. -I%s -g -O -fno-inline-functions
+ default-c-compiler-profile-flags: -I. -I%s -pg -g -O -fno-inline-functions
+ assembler-command: cc $(CCFLAGS) -c %s -o %s
+ link-library-command: ar qc %s %s
+-link-executable-command: $(LIBTOOL) --mode=link cc -o %s %s %s
+-link-shared-executable-command: $(LIBTOOL) --mode=link cc -o %s %s %s
++link-executable-command: $(LIBTOOL) --mode=link --tag=CC cc -o %s %s %s
++link-shared-executable-command: $(LIBTOOL) --mode=link --tag=CC cc -o %s %s %s
+ link-executable-flags: $(GC_LIBS) -multiply_defined suppress
+ path-separator: /
+
+@@ -521,14 +521,14 @@
+ platform-name: ppc-gcc30
+ default-features: C-compiler-is-GCC
+ compile-c-command: gcc-3.0 $(CCFLAGS) -c %s -o %s
+-compile-c-for-shared-command: $(LIBTOOL) --mode=compile gcc-3.0 $(CCFLAGS) -c %s -o %s
++compile-c-for-shared-command: $(LIBTOOL) --mode=compile --tag=CC gcc-3.0 $(CCFLAGS) -c %s -o %s
+ default-c-compiler-flags: -I. -I%s -O2 -fomit-frame-pointer -fno-strict-aliasing
+ default-c-compiler-debug-flags: -I. -I%s -g -O -fno-inline-functions
+ default-c-compiler-profile-flags: -I. -I%s -pg -g -O -fno-inline-functions
+ assembler-command: gcc-3.0 $(CCFLAGS) -c %s -o %s
+ link-library-command: ar qc %s %s
+-link-executable-command: $(LIBTOOL) --mode=link gcc-3.0 -o %s %s %s
+-link-shared-executable-command: $(LIBTOOL) --mode=link gcc-3.0 -o %s %s %s
++link-executable-command: $(LIBTOOL) --mode=link --tag=CC gcc-3.0 -o %s %s %s
++link-shared-executable-command: $(LIBTOOL) --mode=link --tag=CC gcc-3.0 -o %s %s %s
+ link-executable-flags: $(GC_LIBS) -lm
+ link-profile-flags: -pg
+ path-separator: /
+@@ -536,14 +536,14 @@
+ platform-name: ppc-gcc32
+ default-features: C-compiler-is-GCC
+ compile-c-command: gcc-3.2 $(CCFLAGS) -c %s -o %s
+-compile-c-for-shared-command: $(LIBTOOL) --mode=compile gcc-3.2 $(CCFLAGS) -c %s -o %s
++compile-c-for-shared-command: $(LIBTOOL) --mode=compile --tag=CC gcc-3.2 $(CCFLAGS) -c %s -o %s
+ default-c-compiler-flags: -I. -I%s -O2 -fomit-frame-pointer -fno-strict-aliasing
+ default-c-compiler-debug-flags: -I. -I%s -g -O -fno-inline-functions
+ default-c-compiler-profile-flags: -I. -I%s -pg -g -O -fno-inline-functions
+ assembler-command: gcc-3.2 $(CCFLAGS) -c %s -o %s
+ link-library-command: ar qc %s %s
+-link-executable-command: $(LIBTOOL) --mode=link gcc-3.2 -o %s %s %s
+-link-shared-executable-command: $(LIBTOOL) --mode=link gcc-3.2 -o %s %s %s
++link-executable-command: $(LIBTOOL) --mode=link --tag=CC gcc-3.2 -o %s %s %s
++link-shared-executable-command: $(LIBTOOL) --mode=link --tag=CC gcc-3.2 -o %s %s %s
+ link-executable-flags: $(GC_LIBS) -lm
+ link-profile-flags: -pg
+ path-separator: /
+@@ -552,28 +552,28 @@
+ platform-name: x86-gcc32
+ inherit-from: x86 gcc
+ default-c-compiler-flags: -I. -I%s -O2 -fomit-frame-pointer -fno-strict-aliasing
+-link-shared-library-command: $(LIBTOOL) --mode=link gcc -o %s %s -rpath %s
++link-shared-library-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s -rpath %s
+
+ platform-name: x86-gcc33
+ inherit-from: x86 gcc
+ default-c-compiler-flags: -I. -I%s -O
+-link-shared-library-command: $(LIBTOOL) --mode=link gcc -o %s %s -rpath %s
+-link-executable-command: $(LIBTOOL) --mode=link gcc -static -o %s %s %s
++link-shared-library-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s -rpath %s
++link-executable-command: $(LIBTOOL) --mode=link --tag=CC gcc -static -o %s %s %s
+
+ /// sparc
+ platform-name: sparc-gcc30
+ inherit-from: sparc gcc
+ default-c-compiler-flags: -I. -I%s -O1
+ default-c-compiler-debug-flags: -I. -I%s -g -O0 -fno-inline-functions
+-link-shared-library-command: $(LIBTOOL) --mode=link gcc -o %s %s -rpath %s
++link-shared-library-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s -rpath %s
+ long-long-alignment: 8
+
+ // Fully supported platforms (i.e., we use these):
+ platform-name: x86-linux-gcc
+ inherit-from: gcc linux x86
+-link-shared-library-command: $(LIBTOOL) --mode=link gcc -o %s %s -rpath %s
+-link-executable-command: $(LIBTOOL) --mode=link gcc -static -o %s %s %s
++link-shared-library-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s -rpath %s
++link-executable-command: $(LIBTOOL) --mode=link --tag=CC gcc -static -o %s %s %s
+
+ platform-name: x86-linux-gcc32
+ inherit-from: linux x86-gcc32
+@@ -583,12 +583,24 @@
+
+ platform-name: x86-bsdi-gcc
+ inherit-from: gcc bsdi x86
+-link-shared-library-command: $(LIBTOOL) --mode=link gcc -o %s %s -rpath %s
++link-shared-library-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s -rpath %s
+
+ platform-name: x86-netbsd-gcc
+ inherit-from: gcc netbsd x86
+ default-c-compiler-flags: -I. -I%s -I/usr/X11R6/include -fomit-frame-pointer -fno-strict-aliasing
+-link-shared-library-command: $(LIBTOOL) --mode=link gcc -o %s %s -rpath %s
++link-shared-library-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s -rpath %s
++
+platform-name: ppc-netbsd-gcc
+inherit-from: gcc netbsd ppc
-+link-shared-library-command: $(LIBTOOL) --mode=link gcc -o %s %s -rpath %s
++link-shared-library-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s -rpath %s
+long-long-size: 8
+long-long-alignment: 4
+
+platform-name: sparc-netbsd-gcc
+inherit-from: gcc netbsd sparc
-+link-shared-library-command: $(LIBTOOL) --mode=link gcc -o %s %s -rpath %s
++link-shared-library-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s -rpath %s
+long-long-size: 8
+long-long-alignment: 4
-+
+
platform-name: x86-beos-gcc
// Note: These rules depend on the presence of the MingW utilities in your
- // system PATH. You may elect to build using Microsoft's compiler, but
+@@ -596,7 +608,7 @@
+ // you will have a bear of a time getting things to work without some
+ // UNIX-alike commands like "mv", "cmp", and GNU make.
+ inherit-from: beos-gcc beos x86
+-link-shared-library-command: $(LIBTOOL) --mode=link gcc -o %s %s -rpath %s
++link-shared-library-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s -rpath %s
+
+ platform-name: ppc-linux
+ inherit-from: linux ppc
+@@ -605,15 +617,15 @@
+
+ platform-name: ppc-linux-gcc
+ inherit-from: gcc ppc-linux
+-link-shared-library-command: $(LIBTOOL) --mode=link gcc -o %s %s -rpath %s
++link-shared-library-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s -rpath %s
+
+ platform-name: ppc-linux-gcc30
+ inherit-from: ppc-gcc30 ppc-linux
+-link-shared-library-command: $(LIBTOOL) --mode=link gcc-3.0 -o %s %s -rpath %s
++link-shared-library-command: $(LIBTOOL) --mode=link --tag=CC gcc-3.0 -o %s %s -rpath %s
+
+ platform-name: ppc-linux-gcc32
+ inherit-from: ppc-gcc32 ppc-linux
+-link-shared-library-command: $(LIBTOOL) --mode=link gcc-3.2 -o %s %s -rpath %s
++link-shared-library-command: $(LIBTOOL) --mode=link --tag=CC gcc-3.2 -o %s %s -rpath %s
+
+ // FreeBSD 2.x
+ platform-name: x86-freebsd-aout-gcc
+@@ -622,7 +634,7 @@
+ // FreeBSD 3.x and above
+ platform-name: x86-freebsd-elf-gcc
+ inherit-from: gcc freebsd x86
+-link-shared-library-command: $(LIBTOOL) --mode=link gcc -o %s %s -rpath %s
++link-shared-library-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s -rpath %s
+
+ platform-name: x86-freebsd-elf-gcc32
+ inherit-from: freebsd x86-gcc32
+@@ -634,15 +646,15 @@
+ inherit-from: gcc linux alpha
+ big-endian?: #f
+ assembler-command: gcc $(CCFLAGS) -x assembler-with-cpp -c %s -o %s
+-link-shared-library-command: $(LIBTOOL) --mode=link gcc -o %s %s -rpath %s
++link-shared-library-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s -rpath %s
+
+ platform-name: sparc-linux-gcc
+ inherit-from: gcc linux sparc
+-link-shared-library-command: $(LIBTOOL) --mode=link gcc -o %s %s -rpath %s
++link-shared-library-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s -rpath %s
+
+ platform-name: s390-linux-gcc
+ inherit-from: gcc linux s390
+-link-shared-library-command: $(LIBTOOL) --mode=link gcc -o %s %s -rpath %s
++link-shared-library-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s -rpath %s
+
+ platform-name: MacOS-ppc
+ inherit-from: mac-cw macintosh ppc
+@@ -666,20 +678,20 @@
+ // Douglas M. Auclair's cygnus port (doug@cotilliongroup.com)
+ platform-name: x86-cygnus-gcc
+ inherit-from: gcc x86 cygnus
+-link-shared-library-command: $(LIBTOOL) --mode=link gcc -o %s %s -rpath %s
++link-shared-library-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s -rpath %s
+ long-long-alignment: 8
+ double-alignment: 8
+
+ platform-name: x86-cygnus-gcc32
+ inherit-from: x86-gcc32 cygnus
+-link-shared-library-command: $(LIBTOOL) --mode=link gcc -o %s %s -rpath %s
++link-shared-library-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s -rpath %s
+ long-long-alignment: 4
+ double-alignment: 4
+
+ // Mingwin Port
+ platform-name: x86-mingw32-gcc32
+ inherit-from: gcc x86 mingw32
+-link-shared-library-command: $(LIBTOOL) --mode=link gcc -o %s %s -rpath %s
++link-shared-library-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s -rpath %s
+
+ // Solaris support maintained by Tom Emerson, tree@tiac.net
+ // Need to define default-features: below since all three of our
+@@ -716,7 +728,7 @@
+ platform-name: mips-irix-gcc
+ inherit-from: gcc irix mips
+ default-features: compiled-for-irix compiled-for-mips C-compiler-is-GCC
+-link-shared-library-command: $(LIBTOOL) --mode=link cc -n32 -Wl,-woff,85 -o %s %s -rpath %s
++link-shared-library-command: $(LIBTOOL) --mode=link --tag=CC cc -n32 -Wl,-woff,85 -o %s %s -rpath %s
+
+ // This is untested.
+ platform-name: sparc-openbsd-gcc
+@@ -743,8 +755,8 @@
+ default-features: compiled-for-hpux compiled-for-hppa C-compiler-is-GCC
+ library-filename-suffix: .a .sl
+ link-library-command: /bin/ar qc %s %s
+-link-executable-command: $(LIBTOOL) --mode=link gcc -o %s %s %s
+-//link-shared-library-command: $(LIBTOOL) --mode=link gcc -o %s %s -L/lib/pa1.1 -lm -rpath %s
++link-executable-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s %s
++//link-shared-library-command: $(LIBTOOL) --mode=link --tag=CC gcc -o %s %s -L/lib/pa1.1 -lm -rpath %s
+ link-executable-flags: $(GC_LIBS) -L/lib/pa1.1 -lm
+ double-alignment: 8
+ long-long-alignment: 8