summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-21 17:17:51 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-21 17:17:51 +0000
commit4d222d9e8cebd94c6ce6655529a5fbbdea06988b (patch)
tree61e76551dd77784251961021adbf1f67dd50c3a5 /lang
parent5f247b1b617bc314ff9d4d376c913e89301d3787 (diff)
downloadpkgsrc-4d222d9e8cebd94c6ce6655529a5fbbdea06988b.tar.gz
Don't leak rpath references to the work directory. Bump revision.
Diffstat (limited to 'lang')
-rw-r--r--lang/gauche/Makefile3
-rw-r--r--lang/gauche/distinfo6
-rw-r--r--lang/gauche/patches/patch-ah13
-rw-r--r--lang/gauche/patches/patch-ai13
-rw-r--r--lang/gauche/patches/patch-aj15
-rw-r--r--lang/gauche/patches/patch-ak13
6 files changed, 61 insertions, 2 deletions
diff --git a/lang/gauche/Makefile b/lang/gauche/Makefile
index 4bfa66b5dda..50a4d7dec18 100644
--- a/lang/gauche/Makefile
+++ b/lang/gauche/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.49 2008/05/26 22:37:30 tnn Exp $
+# $NetBSD: Makefile,v 1.50 2008/06/21 17:17:51 joerg Exp $
#
DISTNAME= Gauche-0.8.13
CATEGORIES= lang
+PKGREVISION= 1
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gauche/}
EXTRACT_SUFX= .tgz
diff --git a/lang/gauche/distinfo b/lang/gauche/distinfo
index 1c643de9f60..abaffe416af 100644
--- a/lang/gauche/distinfo
+++ b/lang/gauche/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.22 2008/02/25 23:14:19 tnn Exp $
+$NetBSD: distinfo,v 1.23 2008/06/21 17:17:51 joerg Exp $
SHA1 (Gauche-0.8.13.tgz) = fbbd3496a1088c5b36d446c4479f9db1dac2d1e0
RMD160 (Gauche-0.8.13.tgz) = 0430e6b99b85b5d1b5cc636d2ebbceac9ad1c80e
@@ -8,3 +8,7 @@ SHA1 (patch-ab) = 4dd53f094032099831ccdb71e5f4fb8ccb333742
SHA1 (patch-ae) = 2cfd522b94d7468ca671d6bd1c830b6edf7f5aa5
SHA1 (patch-af) = cfa1772da7f0dd90a9f4a53c2d1e0b27a74a24ee
SHA1 (patch-ag) = ee9946e364d6723b0efe3b260fc5d02ccb04621d
+SHA1 (patch-ah) = 511cf477c22504573f791320a145f5e640d5176f
+SHA1 (patch-ai) = f1903546a8d1b58aee27174fbd5ac07a491b5712
+SHA1 (patch-aj) = 641075d941755cfa2dd39d1daf5dc69206751b5c
+SHA1 (patch-ak) = 0ec1de6afe2d13505efcdd31135d5a36b437092b
diff --git a/lang/gauche/patches/patch-ah b/lang/gauche/patches/patch-ah
new file mode 100644
index 00000000000..6f978729793
--- /dev/null
+++ b/lang/gauche/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.5 2008/06/21 17:17:51 joerg Exp $
+
+--- configure.ac.orig 2008-06-21 10:32:46.000000000 +0000
++++ configure.ac
+@@ -614,7 +614,7 @@ if test "$try_rpath" = "yes"; then
+ ac_cv_linker_rpath_flag=no)])
+ CFLAGS="$cflags_save"
+ if test "$ac_cv_linker_rpath_flag" = "yes"; then
+- RPATH_TMP='-Wl,--rpath "-Wl,`pwd`"'
++ RPATH_TMP='-Wl,--rpath-link "-Wl,`pwd`"'
+ RPATH_REAL='-Wl,--rpath "-Wl,$(LIB_INSTALL_DIR)"'
+ else
+ # solaris' ld uses -R instead of --rpath
diff --git a/lang/gauche/patches/patch-ai b/lang/gauche/patches/patch-ai
new file mode 100644
index 00000000000..8ed34362c90
--- /dev/null
+++ b/lang/gauche/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1 2008/06/21 17:17:51 joerg Exp $
+
+--- configure.orig 2008-06-21 10:42:01.000000000 +0000
++++ configure
+@@ -10883,7 +10883,7 @@ fi
+ echo "${ECHO_T}$ac_cv_linker_rpath_flag" >&6; }
+ CFLAGS="$cflags_save"
+ if test "$ac_cv_linker_rpath_flag" = "yes"; then
+- RPATH_TMP='-Wl,--rpath "-Wl,`pwd`"'
++ RPATH_TMP='-Wl,--rpath-link "-Wl,`pwd`"'
+ RPATH_REAL='-Wl,--rpath "-Wl,$(LIB_INSTALL_DIR)"'
+ else
+ # solaris' ld uses -R instead of --rpath
diff --git a/lang/gauche/patches/patch-aj b/lang/gauche/patches/patch-aj
new file mode 100644
index 00000000000..a95ff50f1af
--- /dev/null
+++ b/lang/gauche/patches/patch-aj
@@ -0,0 +1,15 @@
+$NetBSD: patch-aj,v 1.1 2008/06/21 17:17:51 joerg Exp $
+
+--- ext/Makefile.ext.in.orig 2008-06-21 10:47:05.000000000 +0000
++++ ext/Makefile.ext.in
+@@ -37,8 +37,8 @@ CCLD = $(CC)
+ LINK = $(CCLD) $(CFLAGS) $(LDFLAGS)
+ MODLINK = $(CCLD) $(CFLAGS) $(LDFLAGS)
+
+-@CROSS_COMPILING_no@GOSH = $(top_builddir)/src/gosh -ftest
+-@CROSS_COMPILING_no@GAUCHE_CONFIG = $(top_builddir)/src/gauche-config
++@CROSS_COMPILING_no@GOSH = LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$(top_builddir)/src $(top_builddir)/src/gosh -ftest
++@CROSS_COMPILING_no@GAUCHE_CONFIG = LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$(top_builddir)/src $(top_builddir)/src/gauche-config
+ @CROSS_COMPILING_yes@GOSH = gosh
+ @CROSS_COMPILING_yes@GAUCHE_CONFIG = $(top_builddir)/src/$(HOST)-gauche-config
+ GAUCHE_INSTALL = $(GOSH) $(top_srcdir)/src/gauche-install.in
diff --git a/lang/gauche/patches/patch-ak b/lang/gauche/patches/patch-ak
new file mode 100644
index 00000000000..eeaf7330247
--- /dev/null
+++ b/lang/gauche/patches/patch-ak
@@ -0,0 +1,13 @@
+$NetBSD: patch-ak,v 1.1 2008/06/21 17:17:51 joerg Exp $
+
+--- doc/Makefile.in.orig 2008-06-21 10:59:26.000000000 +0000
++++ doc/Makefile.in
+@@ -9,7 +9,7 @@ MANPAGES = gosh.1 gauche-config.1
+ EXTRACTED = gauche-refe.texi gauche-refj.texi \
+ gauche-deve.texi gauche-devj.texi
+ GENERATED = Makefile $(MANPAGES)
+-@CROSS_COMPILING_no@GOSH = ../src/gosh -q -I../src -I../lib -lgauche-init
++@CROSS_COMPILING_no@GOSH = LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$(top_builddir)/src ../src/gosh -q -I../src -I../lib -lgauche-init
+ @CROSS_COMPILING_yes@GOSH = gosh -q -lgauche-init
+ INSTALL = @INSTALL@
+ MKINSTDIR = $(top_srcdir)/mkinstalldirs