On Fri, Jan 02, 2009 at 05:34:41PM -0800, Gregory Steuck wrote:
> I just installed an i386-current snapshot over my 4.4-release
> system. pkg_add now fails to upgrade hugs:
> 
> % pkg_info |grep hugs
> hugs98-2005.03      Haskell 98 interpreter
> % sudo pkg_add -ui
> % PKGPATH=ftp://ftp.usa.openbsd.org/pub/OpenBSD/snapshots/packages/i386 sudo 
> pkg_add -ui hugs98
> Candidates for updating hugs98-2005.03 -> hugs98-2006.09
> Looking for updates: complete
> Running the equivalent of pkg_add -r hugs98-2006.09
> Invalid spec hugs98-Mar2005 at /usr/libdata/perl5/OpenBSD/PkgSpec.pm line 153.

Looks like I removed the @conflict markers by accident. Could you
please try to apply the diff below to the port (lang/hugs), build
the package, and look wether pkg_add -u works correct with it?

Ciao,
        Kili


Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/hugs/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile    29 Oct 2008 22:55:40 -0000      1.14
+++ Makefile    3 Jan 2009 10:37:08 -0000
@@ -3,7 +3,7 @@
 COMMENT =      Haskell 98 interpreter
 
 DISTNAME =     hugs98-plus-Sep2006
-PKGNAME =      hugs98-2006.09
+PKGNAME =      hugs98-2006.09p0
 CATEGORIES =   lang
 MAINTAINER =   Matthias Kilian <k...@openbsd.org>
 HOMEPAGE =     http://www.haskell.org/hugs/
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/lang/hugs/pkg/PLIST,v
retrieving revision 1.9
diff -u -p -r1.9 PLIST
--- pkg/PLIST   29 Oct 2008 22:55:40 -0000      1.9
+++ pkg/PLIST   3 Jan 2009 10:37:08 -0000
@@ -1,4 +1,7 @@
 @comment $OpenBSD: PLIST,v 1.9 2008/10/29 22:55:40 kili Exp $
+...@conflict hugs98-Mar2005
+...@conflict hugs98-Nov2003
+...@conflict hugs98-Dec2001
 %%SHARED%%
 bin/cpphs-hugs
 @bin bin/ffihugs

Reply via email to