Re: update devel/darcs

2011-04-06 Thread Dawe
On Apr 05, 2011 12:37, Matthias Kilian wrote:
 On Tue, Apr 05, 2011 at 12:07:01PM +0200, Matthias Kilian wrote:
Update to darcs-2.5.2 (minor bug fixes and ghc-7 compatibility).
  [...]
   
   Seems to be fine on amd64:
   make regress = All tests OK
  
  Even the haskell_policy.sh test? This test failed on my box with
  tons of parse errors (i didn't care much about it because it already
  failed in darcs-2.5).
 
 Oh, you probably don't have hlint installed, but I have. That would
 explain the different results. Even if it seems pointless, I'll add
 devel/hs-hlint to REGRESS_DEPENDS to avoid future confusion.
 
 Ciao,
   Kili
 

Yes, the installation of hlint was it.



Re: update devel/darcs

2011-04-05 Thread Dawe
On Apr 04, 2011 18:05, Matthias Kilian wrote:
 Update to darcs-2.5.2 (minor bug fixes and ghc-7 compatibility).
 
 While here, add a workaround for texlive (via latex2html) trying
 to create fonts under $HOME.
 
 Note that this requires the update of devel/hs-text sent earlier
 this day.
 

Seems to be fine on amd64:
make regress = All tests OK



Re: update devel/darcs

2011-04-05 Thread Matthias Kilian
On Tue, Apr 05, 2011 at 10:17:15AM +0200, Dawe wrote:
  Update to darcs-2.5.2 (minor bug fixes and ghc-7 compatibility).
[...]
 
 Seems to be fine on amd64:
 make regress = All tests OK

Even the haskell_policy.sh test? This test failed on my box with
tons of parse errors (i didn't care much about it because it already
failed in darcs-2.5).

Ciao,
Kili



Re: update devel/darcs

2011-04-05 Thread Matthias Kilian
On Tue, Apr 05, 2011 at 12:07:01PM +0200, Matthias Kilian wrote:
   Update to darcs-2.5.2 (minor bug fixes and ghc-7 compatibility).
 [...]
  
  Seems to be fine on amd64:
  make regress = All tests OK
 
 Even the haskell_policy.sh test? This test failed on my box with
 tons of parse errors (i didn't care much about it because it already
 failed in darcs-2.5).

Oh, you probably don't have hlint installed, but I have. That would
explain the different results. Even if it seems pointless, I'll add
devel/hs-hlint to REGRESS_DEPENDS to avoid future confusion.

Ciao,
Kili



Re: update devel/darcs

2010-04-13 Thread Matthias Kilian
On Fri, Apr 09, 2010 at 07:10:19PM +0200, Matthias Kilian wrote:
 Update to darcs-2.4.

And comes darcs-2.4.1.


Index: Makefile
===
RCS file: /cvs/ports/devel/darcs/Makefile,v
retrieving revision 1.25
diff -u -p -r1.25 Makefile
--- Makefile4 Oct 2009 21:16:17 -   1.25
+++ Makefile13 Apr 2010 11:47:33 -
@@ -1,45 +1,45 @@
 # $OpenBSD: Makefile,v 1.25 2009/10/04 21:16:17 kili Exp $
 
-COMMENT=   advanced revision control system written in Haskell
+COMMENT =  advanced revision control system written in Haskell
 
-DISTNAME=  darcs-2.2.0
-PKGNAME=   ${DISTNAME}p0
+DISTNAME = darcs-2.4.1
 
-CATEGORIES=devel
-HOMEPAGE=  http://www.darcs.net/
-MASTER_SITES=  ${HOMEPAGE}
-
-WANTLIB=   c curses crypto idn m pthread ssl z
-MODULES=   lang/ghc
-MODGHC_RUNTIME=No
-LIB_DEPENDS=   curl.=2::net/curl \
-   gmp::devel/gmp
-BUILD_DEPENDS= ${RUN_DEPENDS}
-
-CONFIGURE_STYLE=simple
-CONFIGURE_ARGS=--prefix=${PREFIX} \
-   --datadir=${PREFIX}/share \
-   --libexecdir=${PREFIX}/libexec/darcs \
-   --mandir=${PREFIX}/man \
-   --sysconfdir=${PREFIX}/share/darcs \
-   --without-manual
-CONFIGURE_ENV= CPPFLAGS=${CPPFLAGS} -I${LOCALBASE}/include \
-   LDFLAGS=${LDFLAGS} -L${LOCALBASE}/lib CFLAGS= \
-   HOME=/nonexistent \
-   AWK=/usr/bin/awk DIFF=/usr/bin/diff GREP=/usr/bin/grep
-
-USE_GMAKE= Yes
-MAKE_FILE= GNUmakefile
-INSTALL_TARGET=install installserver install-html install-examples
-MAKE_ENV+= DARCS=${WRKSRC}/darcs
-MAKE_FLAGS+=   VERBOSE=Yes
-REGRESS_TARGET=check
-REGRESS_DEPENDS=::shells/bash
-
-# GPL
-PERMIT_PACKAGE_CDROM=  Yes
-PERMIT_PACKAGE_FTP=Yes
-PERMIT_DISTFILES_CDROM=Yes
-PERMIT_DISTFILES_FTP=  Yes
+CATEGORIES =   devel
+HOMEPAGE = http://www.darcs.net/
+
+WANTLIB =  c m ncurses pthread util z
+MODULES =  lang/ghc converters/libiconv
+MODGHC_BUILD = cabal hackage nort
+LIB_DEPENDS =  curl.=2::net/curl
+
+# Yes, build dependencies, because GHC libs are still static and we
+# don't want to pull in all of ghc.
+BUILD_DEPENDS =:hs-zlib-=0.5.0,0.6.0:archivers/hs-zlib \
+   :hs-hashed-storage-0.4.11:devel/hs-hashed-storage \
+   :hs-parsec-=2.0,3.1:devel/hs-parsec \
+   :hs-regex-compat-=0.71,0.94:devel/hs-regex-compat \
+   :hs-html-=1.0,1.1:www/hs-html \
+   ${RUN_DEPENDS} \
+   ::textproc/latex2html
+
+# For the documentation
+USE_GMAKE =Yes
+
+post-build:
+   @cd ${WRKBUILD}  exec ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} html
+
+post-install:
+   ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/darcs
+   cd ${WRKBUILD}/doc/manual  umask 022  pax -rw . 
${PREFIX}/share/doc/darcs
+   # Wrong directory, and wrong permissions (600):
+   rm -rf ${PREFIX}/share/man
+   ${INSTALL_MAN_DIR} ${PREFIX}/man/man1
+   ${INSTALL_MAN} ${WRKBUILD}/dist/build/darcs/darcs.1 ${PREFIX}/man/man1
+
+# GPLv2
+PERMIT_PACKAGE_CDROM = Yes
+PERMIT_PACKAGE_FTP =   Yes
+PERMIT_DISTFILES_CDROM =Yes
+PERMIT_DISTFILES_FTP = Yes
 
 .include bsd.port.mk
Index: distinfo
===
RCS file: /cvs/ports/devel/darcs/distinfo,v
retrieving revision 1.17
diff -u -p -r1.17 distinfo
--- distinfo25 Jan 2009 18:53:33 -  1.17
+++ distinfo13 Apr 2010 11:47:33 -
@@ -1,5 +1,5 @@
-MD5 (darcs-2.2.0.tar.gz) = jwpeullx588yTGNmTN5Z4g==
-RMD160 (darcs-2.2.0.tar.gz) = hhhvDcZFgMCZ+BW1EeuE7mOHt7A=
-SHA1 (darcs-2.2.0.tar.gz) = qTLuFO/FdJCkMElYqzka18hgMPA=
-SHA256 (darcs-2.2.0.tar.gz) = gWM+/9mDstZ+LV6u4yZm8SB974qa8YnFq9bRqayrNdo=
-SIZE (darcs-2.2.0.tar.gz) = 1793273
+MD5 (darcs-2.4.1.tar.gz) = HP2MrU7AnYjggd87Vvnsow==
+RMD160 (darcs-2.4.1.tar.gz) = WpCbIqGqsfis8H9l39P18S5t4xI=
+SHA1 (darcs-2.4.1.tar.gz) = +hQMA1UUvulTHVbd4OeuHLJF2ZM=
+SHA256 (darcs-2.4.1.tar.gz) = asDoTS7KFg5uM3VWed+xhdm1+fW9xD+Z2zJiEKq7xKo=
+SIZE (darcs-2.4.1.tar.gz) = 1192587
Index: patches/patch-GNUmakefile
===
RCS file: patches/patch-GNUmakefile
diff -N patches/patch-GNUmakefile
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-GNUmakefile   13 Apr 2010 11:47:33 -
@@ -0,0 +1,32 @@
+$OpenBSD$
+--- GNUmakefile.orig   Mon Apr 12 21:42:42 2010
 GNUmakefileTue Apr 13 13:27:19 2010
+@@ -8,10 +8,13 @@ PREPROC=./dist/build/darcs/darcs --preprocess-manual
+ PREPROCHTML=--html
+ TEXSOURCES = src/darcs.tex $(wildcard src/*.tex) $(filter 
%.lhs,$(DARCS_FILES))
+ doc/manual/darcs.tex: $(TEXSOURCES) $(DARCS)
++  mkdir doc/manual
+   $(PREPROC) darcs.tex $(PREPROCHTML) $@
+ doc/manual/darcs_print.tex: $(TEXSOURCES) $(DARCS)
++  

Re: update: devel/darcs

2008-08-29 Thread Matthias Kilian
FYI:

After talking a little bit to the darks people and running some
real-world tests, I think it's better to wait for darcs-2.0.3, which
will fix some super-annoying bugs wrt accessing remote darcs
repositories over HTTP.

Ciao,
Kili

-- 
f u cn rd ths, u mst hv bn sng nx



Re: update: devel/darcs

2008-08-27 Thread Matthias Kilian
On Tue, Aug 26, 2008 at 11:31:19PM +0100, Stuart Henderson wrote:
  I'd also like to see the output of make regress
  on amd64.
 
 +++ Tue Aug 26 23:04:04 BST 2008
 ===  Checking files for darcs-2.0.2
 `/usr/ports/distfiles/darcs-2.0.2.tar.gz' is up to date.
  (SHA256) darcs-2.0.2.tar.gz: OK
[...]

Thanks!

Before committing it, I'll ask on the darcs users mailing list,
just in case someone is using darcs on OpenBSD but isn't subscribed
to [EMAIL PROTECTED]

Ciao,
Kili

-- 
 The glibc C runtime library has a function __libc_freeres to free any memory 
 allocated by the runtime. What is the equivalent in OpenBSD's libc?
exit(3)
-- Vesselin Peev and Tobias Weingartner



Re: update: devel/darcs 1.0.4 - 1.0.8

2006-07-21 Thread Jon Olsson
On Thu, Jul 20, 2006 at 04:59:01PM -0500, Will Maier wrote:
 On Thu, Jul 20, 2006 at 12:14:23AM +0200, Jon Olsson wrote:
  Here's the latest diff.
 
 # make lib-depends-check
 /usr/ports/packages/i386/all/darcs-1.0.8.tgz:
 Extra: readline.3
 Extra: ncurses.10
 Extra: pthread.6
 
 After removing the extra libs, it compiles and passes regress on
 i386/-current.

You're correct. Nifty target that, included is an updated diff.

diffstat:
 devel/darcs/Makefile|6 ++-
 devel/darcs/distinfo|8 ++--
 devel/darcs/patches/patch-GNUmakefile   |   20 +-
 devel/darcs/patches/patch-configure |   62 
 devel/darcs/patches/patch-tests_pull_pl |   18 +
 devel/darcs/pkg/PLIST   |1 
 lang/ghc/ghc.port.mk|7 +++
 7 files changed, 74 insertions(+), 48 deletions(-)

-- 
Jon
? devel/darcs/w-darcs-1.0.8
? devel/darcs/patches/patch-tests_pull_pl
Index: lang/ghc/ghc.port.mk
===
RCS file: /cvs/ports/lang/ghc/ghc.port.mk,v
retrieving revision 1.3
diff -u -r1.3 ghc.port.mk
--- lang/ghc/ghc.port.mk2005/02/19 03:42:11 1.3
+++ lang/ghc/ghc.port.mk2006/07/21 09:04:06
@@ -7,4 +7,11 @@
 #   sparc
 
 BUILD_DEPENDS+=bin/ghc::lang/ghc
+
+# Only add runtime when it is actually needed (by default yes)
+GHC_RUNTIME?=  YES
+.if ${GHC_RUNTIME} == YES
 RUN_DEPENDS+=  bin/ghc::lang/ghc
+.else
+LIB_DEPENDS+=   gmp::devel/gmp
+.endif
Index: devel/darcs/Makefile
===
RCS file: /cvs/ports/devel/darcs/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- devel/darcs/Makefile2005/11/17 09:31:16 1.14
+++ devel/darcs/Makefile2006/07/21 09:04:06
@@ -2,13 +2,15 @@
 
 COMMENT=   advanced revision control system written in Haskell
 
-V= 1.0.4
+V= 1.0.8
 DISTNAME=  darcs-${V}
 CATEGORIES=devel
 HOMEPAGE=  http://www.darcs.net/
 MASTER_SITES=  ${HOMEPAGE}
 MAINTAINER=Don Stewart [EMAIL PROTECTED]
 
+GHC_RUNTIME=   no
+
 MODULES=   lang/ghc
 LIB_DEPENDS=   curl.2::net/curl
 
@@ -32,6 +34,6 @@
 PERMIT_PACKAGE_FTP=Yes
 PERMIT_DISTFILES_CDROM=Yes
 PERMIT_DISTFILES_FTP=  Yes
-WANTLIB=   c crypto curses gmp m ncurses pthread readline ssl z
+WANTLIB=   c crypto curses gmp m ssl z
 
 .include bsd.port.mk
Index: devel/darcs/distinfo
===
RCS file: /cvs/ports/devel/darcs/distinfo,v
retrieving revision 1.11
diff -u -r1.11 distinfo
--- devel/darcs/distinfo2005/11/17 09:31:16 1.11
+++ devel/darcs/distinfo2006/07/21 09:04:06
@@ -1,4 +1,4 @@
-MD5 (darcs-1.0.4.tar.gz) = 0be693b00e4b1bd24906d4f479e78923
-RMD160 (darcs-1.0.4.tar.gz) = 5b8e4b2396c1cd7a373e103aa90d8a47802a43de
-SHA1 (darcs-1.0.4.tar.gz) = 71ab71a9fa94db74ba3b79fa65b797a129a652f2
-SIZE (darcs-1.0.4.tar.gz) = 950528
+MD5 (darcs-1.0.8.tar.gz) = a7a26d1a98c5675dcab4c2cc30eba59d
+RMD160 (darcs-1.0.8.tar.gz) = a95309f7dc79b29d7e4f237627aa300a84aa5331
+SHA1 (darcs-1.0.8.tar.gz) = f69fb2f5deb3c5281b2eaed9fcb8aa3fe55829dd
+SIZE (darcs-1.0.8.tar.gz) = 1010010
Index: devel/darcs/patches/patch-GNUmakefile
===
RCS file: /cvs/ports/devel/darcs/patches/patch-GNUmakefile,v
retrieving revision 1.8
diff -u -r1.8 patch-GNUmakefile
--- devel/darcs/patches/patch-GNUmakefile   2005/11/17 09:31:16 1.8
+++ devel/darcs/patches/patch-GNUmakefile   2006/07/21 09:04:06
@@ -2,17 +2,17 @@
 
 Don't try to build or install .ps docs, and don't regen the .html docs.
 
 GNUmakefile.orig   Thu Sep  1 21:33:13 2005
-+++ GNUmakefileMon Sep 12 12:03:02 2005
-@@ -103,10 +103,9 @@ installbin:   all
-   $(INSTALL) -d $(DESTDIR)/$(mandir)/man1
-   $(INSTALL_DATA) darcs.1 $(DESTDIR)/$(mandir)/man1/
+--- GNUmakefile.orig   Fri Jun  9 15:01:54 2006
 GNUmakefileFri Jun  9 15:02:22 2006
+@@ -120,10 +120,9 @@ installbin:   all
+   $(INSTALL) -d $(DESTDIR)$(mandir)/man1
+   $(INSTALL_DATA) darcs.1 $(DESTDIR)$(mandir)/man1/
  
 -installdocs:  darcs.ps manual/index.html
 +installdocs:
-   test -d $(DESTDIR)/$(datadir)/doc/darcs/manual || \
-   $(INSTALL) -d $(DESTDIR)/$(datadir)/doc/darcs/manual
--  $(INSTALL_DATA) darcs.ps $(DESTDIR)/$(datadir)/doc/darcs
-   $(INSTALL_DATA) manual/* $(DESTDIR)/$(datadir)/doc/darcs/manual
+   test -d $(DESTDIR)$(datadir)/doc/darcs/manual || \
+   $(INSTALL) -d $(DESTDIR)$(datadir)/doc/darcs/manual
+-  $(INSTALL_DATA) darcs.ps $(DESTDIR)$(datadir)/doc/darcs
+   $(INSTALL_DATA) manual/* $(DESTDIR)$(datadir)/doc/darcs/manual
  
-   test -d $(DESTDIR)/$(datadir)/doc/darcs/examples || \
+   test -d 

Re: update: devel/darcs 1.0.4 - 1.0.8

2006-07-20 Thread Will Maier
On Thu, Jul 20, 2006 at 12:14:23AM +0200, Jon Olsson wrote:
 Here's the latest diff.

# make lib-depends-check
/usr/ports/packages/i386/all/darcs-1.0.8.tgz:
Extra: readline.3
Extra: ncurses.10
Extra: pthread.6

After removing the extra libs, it compiles and passes regress on
i386/-current.

-- 

o--{ Will Maier }--o
| web:...http://www.lfod.us/ | [EMAIL PROTECTED] |
*--[ BSD Unix: Live Free or Die ]--*



Re: update: devel/darcs 1.0.4 - 1.0.8

2006-07-19 Thread Will Maier
On Thu, Jul 06, 2006 at 01:02:23PM +0200, Jon Olsson wrote:
 This patch updates the in-tree darcs from the rather old 1.0.4 to
 1.0.8 and removes the unneeded runtime GHC dependency, as darcs is
 just a binary. A lot of changes has happened between the versions,
 most notably a security issue has been resolved. See the ChangeLog
 file for complete version history.

I just sent a similar patch[*] to the MAINTAINER (Don Stewart
[EMAIL PROTECTED]) and received the following:

- Forwarded message from Donald Bruce Stewart [EMAIL PROTECTED] -

From: Donald Bruce Stewart [EMAIL PROTECTED]
Date: Wed, 19 Jul 2006 13:13:57 +1000
To: Will Maier [EMAIL PROTECTED]
Subject: Re: OpenBSD Ports: UPDATE deve/darcs
User-Agent: Mutt/1.5.11

Unfortunately, I don't have the time to maintain this anymore.  Two
weeks ago Jon Olsson [EMAIL PROTECTED] sent me the very same patch (and
also to ports@ iirc).

I suggest that either you or John should suggest there to take
maintainership of darcs, with my ok, and then submit patches. 

Cheers,
  Don

- End forwarded message -

Jon, would you be interested in maintaining the port? I don't use
DARCS at all...

[*] Somehow, I read Jon's patch; forgot about it; wondered if I
could get the DARCS port to build tailor, too; saw that DARCS wanted
upgrading; and went back and redid it. Jon's patch is better than
mine, though. ;)

-- 

o--{ Will Maier }--o
| web:...http://www.lfod.us/ | [EMAIL PROTECTED] |
*--[ BSD Unix: Live Free or Die ]--*



Re: update: devel/darcs 1.0.4 - 1.0.8

2006-07-19 Thread Jon Olsson
On Wed, Jul 19, 2006 at 07:37:19AM -0500, Will Maier wrote:
[snip]

 Jon, would you be interested in maintaining the port? I don't use
 DARCS at all...

Sure - I use darcs all the time, I'll maintain it.

-- 
Jon



Re: update: devel/darcs 1.0.4 - 1.0.8

2006-07-19 Thread Aleksander Piotrowski
Jon Olsson [EMAIL PROTECTED] wrote:

 On Wed, Jul 19, 2006 at 07:37:19AM -0500, Will Maier wrote:
 [snip]
 
  Jon, would you be interested in maintaining the port? I don't use
  DARCS at all...
 
 Sure - I use darcs all the time, I'll maintain it.

I got lost, where is a diff to test?

Alek



Re: update: devel/darcs 1.0.4 - 1.0.8

2006-07-19 Thread Jon Olsson
On Wed, Jul 19, 2006 at 11:34:08PM +0200, Aleksander Piotrowski wrote:
 Jon Olsson [EMAIL PROTECTED] wrote:
 
  On Wed, Jul 19, 2006 at 07:37:19AM -0500, Will Maier wrote:
  [snip]
  
   Jon, would you be interested in maintaining the port? I don't use
   DARCS at all...
  
  Sure - I use darcs all the time, I'll maintain it.
 
 I got lost, where is a diff to test?

Here's the latest diff.

-- 
Jon
Index: lang/ghc/ghc.port.mk
===
RCS file: /cvs/ports/lang/ghc/ghc.port.mk,v
retrieving revision 1.3
diff -u -u -r1.3 ghc.port.mk
--- lang/ghc/ghc.port.mk2005/02/19 03:42:11 1.3
+++ lang/ghc/ghc.port.mk2006/07/19 22:12:20
@@ -7,4 +7,11 @@
 #   sparc
 
 BUILD_DEPENDS+=bin/ghc::lang/ghc
+
+# Only add runtime when it is actually needed (by default yes)
+GHC_RUNTIME?=  YES
+.if ${GHC_RUNTIME} == YES
 RUN_DEPENDS+=  bin/ghc::lang/ghc
+.else
+LIB_DEPENDS+=   gmp::devel/gmp
+.endif
Index: devel/darcs/Makefile
===
RCS file: /cvs/ports/devel/darcs/Makefile,v
retrieving revision 1.14
diff -u -u -r1.14 Makefile
--- devel/darcs/Makefile2005/11/17 09:31:16 1.14
+++ devel/darcs/Makefile2006/07/19 22:12:20
@@ -2,12 +2,14 @@
 
 COMMENT=   advanced revision control system written in Haskell
 
-V= 1.0.4
+V= 1.0.8
 DISTNAME=  darcs-${V}
 CATEGORIES=devel
 HOMEPAGE=  http://www.darcs.net/
 MASTER_SITES=  ${HOMEPAGE}
 MAINTAINER=Don Stewart [EMAIL PROTECTED]
+
+GHC_RUNTIME=   no
 
 MODULES=   lang/ghc
 LIB_DEPENDS=   curl.2::net/curl
Index: devel/darcs/distinfo
===
RCS file: /cvs/ports/devel/darcs/distinfo,v
retrieving revision 1.11
diff -u -u -r1.11 distinfo
--- devel/darcs/distinfo2005/11/17 09:31:16 1.11
+++ devel/darcs/distinfo2006/07/19 22:12:20
@@ -1,4 +1,4 @@
-MD5 (darcs-1.0.4.tar.gz) = 0be693b00e4b1bd24906d4f479e78923
-RMD160 (darcs-1.0.4.tar.gz) = 5b8e4b2396c1cd7a373e103aa90d8a47802a43de
-SHA1 (darcs-1.0.4.tar.gz) = 71ab71a9fa94db74ba3b79fa65b797a129a652f2
-SIZE (darcs-1.0.4.tar.gz) = 950528
+MD5 (darcs-1.0.8.tar.gz) = a7a26d1a98c5675dcab4c2cc30eba59d
+RMD160 (darcs-1.0.8.tar.gz) = a95309f7dc79b29d7e4f237627aa300a84aa5331
+SHA1 (darcs-1.0.8.tar.gz) = f69fb2f5deb3c5281b2eaed9fcb8aa3fe55829dd
+SIZE (darcs-1.0.8.tar.gz) = 1010010
Index: devel/darcs/patches/patch-GNUmakefile
===
RCS file: /cvs/ports/devel/darcs/patches/patch-GNUmakefile,v
retrieving revision 1.8
diff -u -u -r1.8 patch-GNUmakefile
--- devel/darcs/patches/patch-GNUmakefile   2005/11/17 09:31:16 1.8
+++ devel/darcs/patches/patch-GNUmakefile   2006/07/19 22:12:20
@@ -2,17 +2,17 @@
 
 Don't try to build or install .ps docs, and don't regen the .html docs.
 
 GNUmakefile.orig   Thu Sep  1 21:33:13 2005
-+++ GNUmakefileMon Sep 12 12:03:02 2005
-@@ -103,10 +103,9 @@ installbin:   all
-   $(INSTALL) -d $(DESTDIR)/$(mandir)/man1
-   $(INSTALL_DATA) darcs.1 $(DESTDIR)/$(mandir)/man1/
+--- GNUmakefile.orig   Fri Jun  9 15:01:54 2006
 GNUmakefileFri Jun  9 15:02:22 2006
+@@ -120,10 +120,9 @@ installbin:   all
+   $(INSTALL) -d $(DESTDIR)$(mandir)/man1
+   $(INSTALL_DATA) darcs.1 $(DESTDIR)$(mandir)/man1/
  
 -installdocs:  darcs.ps manual/index.html
 +installdocs:
-   test -d $(DESTDIR)/$(datadir)/doc/darcs/manual || \
-   $(INSTALL) -d $(DESTDIR)/$(datadir)/doc/darcs/manual
--  $(INSTALL_DATA) darcs.ps $(DESTDIR)/$(datadir)/doc/darcs
-   $(INSTALL_DATA) manual/* $(DESTDIR)/$(datadir)/doc/darcs/manual
+   test -d $(DESTDIR)$(datadir)/doc/darcs/manual || \
+   $(INSTALL) -d $(DESTDIR)$(datadir)/doc/darcs/manual
+-  $(INSTALL_DATA) darcs.ps $(DESTDIR)$(datadir)/doc/darcs
+   $(INSTALL_DATA) manual/* $(DESTDIR)$(datadir)/doc/darcs/manual
  
-   test -d $(DESTDIR)/$(datadir)/doc/darcs/examples || \
+   test -d $(DESTDIR)$(datadir)/doc/darcs/examples || \
Index: devel/darcs/patches/patch-configure
===
RCS file: /cvs/ports/devel/darcs/patches/patch-configure,v
retrieving revision 1.6
diff -u -u -r1.6 patch-configure
--- devel/darcs/patches/patch-configure 2005/11/17 09:31:16 1.6
+++ devel/darcs/patches/patch-configure 2006/07/19 22:12:20
@@ -2,42 +2,42 @@
 
 Don't build the postscript manual
 
 configure.orig Thu Sep  1 21:33:16 2005
-+++ configure  Mon Sep 12 12:02:06 2005
-@@ -3980,7 +3980,7 @@ if test $enable_mmap = no; then
+--- configure.orig Sun May 14 02:11:04 2006
 configure  Fri Jun  9 15:04:52 2006
+@@ -4306,7 +4306,7 @@ if test $enable_mmap = no; then
  fi
  
  
--TARGETS=darcs darcs-createrepo darcs.1
-+TARGETS=darcs darcs-createrepo
+-TARGETS=darcs darcs.1
++TARGETS=darcs
  

Re: update: devel/darcs 1.0.4 - 1.0.8

2006-07-06 Thread Jon Olsson
On Thu, Jul 06, 2006 at 01:02:23PM +0200, Jon Olsson wrote:
[snip]

  lang/ghc/ghc.port.mk|5 ++

This patch was wrong, here's a correct patch, adding libgmp to 
LIB_DEPENDS:

Index: ghc.port.mk
===
RCS file: /cvs/ports/lang/ghc/ghc.port.mk,v
retrieving revision 1.3
diff -u -r1.3 ghc.port.mk
--- ghc.port.mk 2005/02/19 03:42:11 1.3
+++ ghc.port.mk 2006/07/06 22:55:11
@@ -7,4 +7,11 @@
 #   sparc
 
 BUILD_DEPENDS+=bin/ghc::lang/ghc
+
+# Only add runtime when it is actually needed (by default yes)
+GHC_RUNTIME?=  YES
+.if ${GHC_RUNTIME} == YES
 RUN_DEPENDS+=  bin/ghc::lang/ghc
+.else
+LIB_DEPENDS+=   gmp::devel/gmp
+.endif