summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2018-01-08 10:39:45 +0000
committerwiz <wiz@pkgsrc.org>2018-01-08 10:39:45 +0000
commit831d538d0d5c00b4baf4add3c6167420cd27dcd4 (patch)
treeeab6dd6060e04b9c69cd10301f18f5c5f62eaa88 /lang
parent612982544a5b2ee21e7094253998dd5a806c7212 (diff)
downloadpkgsrc-831d538d0d5c00b4baf4add3c6167420cd27dcd4.tar.gz
guile22: fix build on NetBSD 8+
Diffstat (limited to 'lang')
-rw-r--r--lang/guile22/Makefile3
-rw-r--r--lang/guile22/distinfo3
-rw-r--r--lang/guile22/patches/patch-libguile_Makefile.in15
3 files changed, 19 insertions, 2 deletions
diff --git a/lang/guile22/Makefile b/lang/guile22/Makefile
index 02d65749e9d..346a43d07be 100644
--- a/lang/guile22/Makefile
+++ b/lang/guile22/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2017/12/02 18:34:04 gdt Exp $
+# $NetBSD: Makefile,v 1.6 2018/01/08 10:39:45 wiz Exp $
DISTNAME= guile-2.2.3
PKGNAME= ${DISTNAME:S/guile/guile22/}
+PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ftp://ftp.gnu.org/gnu/guile/
diff --git a/lang/guile22/distinfo b/lang/guile22/distinfo
index 486e6685cea..27c15e336e8 100644
--- a/lang/guile22/distinfo
+++ b/lang/guile22/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2017/12/02 18:34:04 gdt Exp $
+$NetBSD: distinfo,v 1.3 2018/01/08 10:39:45 wiz Exp $
SHA1 (guile-2.2.3.tar.gz) = b80fac5002e8725b59fb65a8b049ff6337d045c9
RMD160 (guile-2.2.3.tar.gz) = 62d71904c228adc4fda0bfc752bf7a01f69c5663
SHA512 (guile-2.2.3.tar.gz) = 31df17d28177badf63e1eb0d0d64e6a4d2abe64d4d5e69d8ff33a24dfb10abd25109ea9abfa86f5ff303b43665eb5b8127927f683f3b16139c5b3dc99f06f6fd
Size (guile-2.2.3.tar.gz) = 17266587 bytes
+SHA1 (patch-libguile_Makefile.in) = d948162124a4263d3185fe1bcf8e90f4930d161c
diff --git a/lang/guile22/patches/patch-libguile_Makefile.in b/lang/guile22/patches/patch-libguile_Makefile.in
new file mode 100644
index 00000000000..c9d00710cc2
--- /dev/null
+++ b/lang/guile22/patches/patch-libguile_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-libguile_Makefile.in,v 1.1 2018/01/08 10:39:45 wiz Exp $
+
+Fix build on NetBSD>=8.
+
+--- libguile/Makefile.in.orig 2017-11-06 09:12:56.000000000 +0000
++++ libguile/Makefile.in
+@@ -2444,6 +2444,8 @@ clean-noinstPROGRAMS:
+ guile$(EXEEXT): $(guile_OBJECTS) $(guile_DEPENDENCIES) $(EXTRA_guile_DEPENDENCIES)
+ @rm -f guile$(EXEEXT)
+ $(AM_V_CCLD)$(guile_LINK) $(guile_OBJECTS) $(guile_LDADD) $(LIBS)
++ if [ `uname -s` = "NetBSD" ]; then paxctl +m .libs/guile$(EXEEXT); fi
++
+ install-binSCRIPTS: $(bin_SCRIPTS)
+ @$(NORMAL_INSTALL)
+ @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \