summaryrefslogtreecommitdiff
path: root/www/swiftsurf
diff options
context:
space:
mode:
authordholland <dholland>2011-10-29 15:38:47 +0000
committerdholland <dholland>2011-10-29 15:38:47 +0000
commit180867a7e2b958d91a0b1aaf0213b81e08344ed4 (patch)
treed0f63a7fe0e9b4b2bb4ca6435c34fd3967533adf /www/swiftsurf
parent5a90a52ce8e3da08c857a6dd0a79fde69944c767 (diff)
downloadpkgsrc-180867a7e2b958d91a0b1aaf0213b81e08344ed4.tar.gz
Fix build with current ocaml
Diffstat (limited to 'www/swiftsurf')
-rw-r--r--www/swiftsurf/distinfo3
-rw-r--r--www/swiftsurf/patches/patch-src_Makefile20
2 files changed, 22 insertions, 1 deletions
diff --git a/www/swiftsurf/distinfo b/www/swiftsurf/distinfo
index bcfaf716f79..dad6d584a1e 100644
--- a/www/swiftsurf/distinfo
+++ b/www/swiftsurf/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 14:08:39 wiz Exp $
+$NetBSD: distinfo,v 1.3 2011/10/29 15:38:47 dholland Exp $
SHA1 (swiftsurf-1.2.5.tar.gz) = bf58a2afcbb8d9ee4cbeb9b8a6ebe00ab6f3d9c8
RMD160 (swiftsurf-1.2.5.tar.gz) = 243c9c05352e83b5f7b64a8398ea1373e7f8dc59
Size (swiftsurf-1.2.5.tar.gz) = 31950 bytes
SHA1 (patch-aa) = 7882d5c8542e8ebab40100462ecfaaf3f282f5a2
+SHA1 (patch-src_Makefile) = e4dad6b60ca5da10b27a9d90b868b3c0f2845cec
diff --git a/www/swiftsurf/patches/patch-src_Makefile b/www/swiftsurf/patches/patch-src_Makefile
new file mode 100644
index 00000000000..ad76aa49597
--- /dev/null
+++ b/www/swiftsurf/patches/patch-src_Makefile
@@ -0,0 +1,20 @@
+$NetBSD: patch-src_Makefile,v 1.1 2011/10/29 15:38:47 dholland Exp $
+
+--- src/Makefile~ 2002-02-25 18:27:15.000000000 +0000
++++ src/Makefile
+@@ -18,13 +18,13 @@ byte: swift
+
+ swift: $(OBJS-SWIFT)
+ $(OCAMLLINK) -custom -o swift unix.cma str.cma \
+- $(OBJS-SWIFT) -cclib -lunix -cclib -lstr
++ $(OBJS-SWIFT) -cclib -lunix
+
+ nat: swift.opt
+
+ swift.opt: $(OBJS-SWIFT-NAT)
+ $(OCAMLOPTLINK) -o swift.opt unix.cmxa str.cmxa \
+- $(OBJS-SWIFT-NAT) -cclib -lunix -cclib -lstr
++ $(OBJS-SWIFT-NAT) -cclib -lunix
+
+ conflex.ml: conflex.mll
+ confpars.mli confpars.ml: confpars.mly