summaryrefslogtreecommitdiff
path: root/lang/gauche
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-08-28 17:45:53 +0000
committerjperkin <jperkin@pkgsrc.org>2014-08-28 17:45:53 +0000
commit7488a0d9b4c7e239cfc6f3c704425bc0288b87f8 (patch)
tree4be1e24f9547f3522d8efb6c32abed9a45cd355e /lang/gauche
parentb3890b8cc3ddfba6d336b07348ce4d8c236ff685 (diff)
downloadpkgsrc-7488a0d9b4c7e239cfc6f3c704425bc0288b87f8.tar.gz
Fix build on SunOS - needs c99 + extensions, and requires zlib.
Diffstat (limited to 'lang/gauche')
-rw-r--r--lang/gauche/Makefile4
-rw-r--r--lang/gauche/distinfo4
-rw-r--r--lang/gauche/patches/patch-aa21
3 files changed, 22 insertions, 7 deletions
diff --git a/lang/gauche/Makefile b/lang/gauche/Makefile
index ff4d682c9ad..fb376d37b65 100644
--- a/lang/gauche/Makefile
+++ b/lang/gauche/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.64 2014/07/21 08:14:47 enami Exp $
+# $NetBSD: Makefile,v 1.65 2014/08/28 17:45:53 jperkin Exp $
#
DISTNAME= Gauche-0.9.4
@@ -35,6 +35,7 @@ ALL_ENV+= \
ICONV_LDFLAGS="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.iconv}/lib"
.endif
+USE_LANGUAGES= c c99
USE_LIBTOOL= yes
USE_TOOLS+= gzip makeinfo
TEST_TARGET= check
@@ -53,4 +54,5 @@ post-install:
gzip -d ${DESTDIR}${PREFIX}/${PKGINFODIR}/gauche-ref*gz
.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/gauche/distinfo b/lang/gauche/distinfo
index 1452c91cdf7..cd9a7bee80d 100644
--- a/lang/gauche/distinfo
+++ b/lang/gauche/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.32 2014/07/21 07:40:07 enami Exp $
+$NetBSD: distinfo,v 1.33 2014/08/28 17:45:53 jperkin Exp $
SHA1 (Gauche-0.9.4.tgz) = 2f0068d19adbc8e7fd3c04ab8e6576d0fac21ad6
RMD160 (Gauche-0.9.4.tgz) = 88f44c10badc4d4be463ee0c84a0b4065d53dc00
Size (Gauche-0.9.4.tgz) = 5601987 bytes
-SHA1 (patch-aa) = 9f740c5e0b5e761a5bf2ba2a5920a867f97d5847
+SHA1 (patch-aa) = 214881e8c19eb5b67b8453e976a8105128a557b6
SHA1 (patch-af) = 0741e1a047ee7935bffa215a69cc417ba67b81f2
SHA1 (patch-ag) = ee9946e364d6723b0efe3b260fc5d02ccb04621d
diff --git a/lang/gauche/patches/patch-aa b/lang/gauche/patches/patch-aa
index f0ffde5bd4a..56ba20a6bbd 100644
--- a/lang/gauche/patches/patch-aa
+++ b/lang/gauche/patches/patch-aa
@@ -1,8 +1,21 @@
-$NetBSD: patch-aa,v 1.12 2014/07/21 07:40:07 enami Exp $
+$NetBSD: patch-aa,v 1.13 2014/08/28 17:45:53 jperkin Exp $
---- configure.orig 2010-12-13 03:45:32.000000000 +0300
-+++ configure 2010-12-16 06:00:33.000000000 +0300
-@@ -5017,6 +5017,9 @@
+Use correct CFLAGS on SunOS.
+
+--- configure.orig 2014-07-20 06:15:05.000000000 +0000
++++ configure
+@@ -3038,8 +3038,8 @@ GAUCHE_CONFIGURE_ARGS="`echo ""$ac_confi
+
+
+ case $host in
+- *-pc-solaris2.*)
+- CFLAGS="$CFLAGS -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__" ;;
++ *-solaris2.*)
++ CFLAGS="$CFLAGS -D_XOPEN_SOURCE=600 -D__EXTENSIONS__" ;;
+ esac
+
+ ac_ext=c
+@@ -5170,6 +5170,9 @@ $as_echo "#define SCM_TARGET_X86_64 1" >
;;
alpha*)
CFLAGS="$CFLAGS -mieee" ;;