aboutsummaryrefslogtreecommitdiffstats
path: root/devel/hs-darcs
diff options
context:
space:
mode:
Diffstat (limited to 'devel/hs-darcs')
-rw-r--r--devel/hs-darcs/Makefile4
-rw-r--r--devel/hs-darcs/distinfo4
-rw-r--r--devel/hs-darcs/files/patch-GNUMakefile11
-rw-r--r--devel/hs-darcs/files/patch-autoconf.mk.in16
-rw-r--r--devel/hs-darcs/pkg-plist1
5 files changed, 32 insertions, 4 deletions
diff --git a/devel/hs-darcs/Makefile b/devel/hs-darcs/Makefile
index 7552629b4bb5..34718a63a214 100644
--- a/devel/hs-darcs/Makefile
+++ b/devel/hs-darcs/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= darcs
-PORTVERSION= 0.9.22
+PORTVERSION= 0.9.23
CATEGORIES= devel
MASTER_SITES= http://www.abridgegame.org/darcs/
@@ -20,7 +20,7 @@ OPTIONS= SERVER "install server" off
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
- LDFLAGS="-L${LOCALBASE}/lib -L${PREFIX}/lib/" \
+ LDFLAGS="-L${LOCALBASE}/lib -L${PREFIX}/lib/ ${PTHREAD_LIBS}" \
CFLAGS=""
USE_GMAKE= yes
MAKEFILE= GNUmakefile
diff --git a/devel/hs-darcs/distinfo b/devel/hs-darcs/distinfo
index 69bc6652228a..edc9134c55c1 100644
--- a/devel/hs-darcs/distinfo
+++ b/devel/hs-darcs/distinfo
@@ -1,2 +1,2 @@
-MD5 (darcs-0.9.22.tar.gz) = f459109666543cf3464c178cc0bfabbf
-SIZE (darcs-0.9.22.tar.gz) = 368426
+MD5 (darcs-0.9.23.tar.gz) = 9bdabbdefaed8ffdfeb0578715e38462
+SIZE (darcs-0.9.23.tar.gz) = 377341
diff --git a/devel/hs-darcs/files/patch-GNUMakefile b/devel/hs-darcs/files/patch-GNUMakefile
new file mode 100644
index 000000000000..147d8c9baa5c
--- /dev/null
+++ b/devel/hs-darcs/files/patch-GNUMakefile
@@ -0,0 +1,11 @@
+--- GNUmakefile.orig Thu Aug 5 17:01:57 2004
++++ GNUmakefile Thu Aug 5 17:02:16 2004
+@@ -144,7 +144,7 @@
+ darcs: $(DARCS_OBJS) darcs.lhs $(C_OBJS) rts.o
+ @echo Linking $@ ...
+ @rm -f Main.o Main.hi
+- @$(GHC) $(GHCFLAGS) $(LDFLAGS) -o $@ $(OPTLCURLFLAGS) $(ZFLAGS) $^
++ @$(GHC) $(GHCFLAGS) $(patsubst -pthread,-optl-pthread,$(LDFLAGS)) -o $@ $(OPTLCURLFLAGS) $(ZFLAGS) $^
+
+ External.o: GHCFLAGS += -fffi
+ Lock.o: GHCFLAGS += -fffi
diff --git a/devel/hs-darcs/files/patch-autoconf.mk.in b/devel/hs-darcs/files/patch-autoconf.mk.in
new file mode 100644
index 000000000000..beb550efe5dc
--- /dev/null
+++ b/devel/hs-darcs/files/patch-autoconf.mk.in
@@ -0,0 +1,16 @@
+--- autoconf.mk.in.orig Thu Aug 5 16:59:14 2004
++++ autoconf.mk.in Thu Aug 5 17:00:04 2004
+@@ -49,11 +49,11 @@
+
+ % : %.lhs
+ rm -f Main.hi Main.o
+- $(GHC) $(GHCFLAGS) $(LDFLAGS) $(OPTLCURLFLAGS) $(ZFLAGS) -o $@ $^
++ $(GHC) $(GHCFLAGS) $(patsubst -pthread,-optl-pthread,$(LDFLAGS)) $(OPTLCURLFLAGS) $(ZFLAGS) -o $@ $^
+
+ % : %.hs
+ rm -f Main.hi Main.o
+- $(GHC) $(GHCFLAGS) $(LDFLAGS) $(OPTLCURLFLAGS) $(ZFLAGS) -o $@ $^
++ $(GHC) $(GHCFLAGS) $(patsubst -pthread,-optl-pthread,$(LDFLAGS)) $(OPTLCURLFLAGS) $(ZFLAGS) -o $@ $^
+
+ %.hi : %.o
+ @:
diff --git a/devel/hs-darcs/pkg-plist b/devel/hs-darcs/pkg-plist
index 2c08aebe9d5e..ad61d6bc6d5f 100644
--- a/devel/hs-darcs/pkg-plist
+++ b/devel/hs-darcs/pkg-plist
@@ -9,6 +9,7 @@ etc/darcs/bash_completion.d/darcs
%%SERVER%%share/darcs/xslt/common.xslt
%%SERVER%%share/darcs/xslt/errors.xslt
%%SERVER%%share/darcs/xslt/patches.xslt
+%%SERVER%%share/darcs/xslt/repos.xslt
%%SERVER%%share/darcs/xslt/styles.css
%%PORTDOCS%%%%DOCSDIR%%/examples/zsh_completion_new
%%PORTDOCS%%%%DOCSDIR%%/examples/zsh_completion_old