Update to 1.4.
Tweak WANTLIB (gmp only required when built with ghc). Take maintainership. Not that some regression tests fail. This will be fixed in the next release.
This commit is contained in:
parent
ac7da55938
commit
fbd333f92c
@ -1,27 +1,35 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2007/06/27 13:14:02 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2007/06/29 10:59:07 kili Exp $
|
||||
|
||||
COMMENT= "liberalised reimplementation of cpp in Haskell"
|
||||
|
||||
V= 1.0
|
||||
V= 1.4
|
||||
DISTNAME= cpphs-${V}
|
||||
CATEGORIES= devel
|
||||
MAINTAINER= Don Stewart <dons@openbsd.org>
|
||||
MAINTAINER= Matthias Kilian <kili@openbsd.org>
|
||||
HOMEPAGE= http://haskell.org/cpphs/
|
||||
MASTER_SITES= http://www.cs.york.ac.uk/fp/cpphs/
|
||||
|
||||
# LGPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB+= c m
|
||||
|
||||
# Pure Haskell 98. Could also interpret via Hugs
|
||||
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
|
||||
WANTLIB+= gmp
|
||||
MODULES= ghc
|
||||
HC= ghc
|
||||
HC_OPTS= -O -o cpphs --make
|
||||
.else
|
||||
BUILD_DEPENDS+= :bin/hmake:lang/nhc98
|
||||
BUILD_DEPENDS+= ::devel/hmake \
|
||||
::lang/nhc98
|
||||
HC= hmake
|
||||
HC_OPTS= -package base
|
||||
HC_OPTS= -nhc98 -package base
|
||||
.endif
|
||||
|
||||
WANTLIB= c gmp m
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${HC} ${HC_OPTS} cpphs
|
||||
|
||||
@ -30,12 +38,6 @@ do-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/cpphs.1 ${PREFIX}/man/man1
|
||||
|
||||
do-regress:
|
||||
cd ${WRKSRC}/tests && ./runtests
|
||||
|
||||
# LGPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
cd ${WRKSRC}/tests && /bin/sh ./runtests
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (cpphs-1.0.tar.gz) = 5X1VBpHep0zVDwfpMjQ5rw==
|
||||
RMD160 (cpphs-1.0.tar.gz) = VcIhBwx3FHut7wkYNYRn97T4c3k=
|
||||
SHA1 (cpphs-1.0.tar.gz) = w8ez0CNime9QmSC4lbKC9vP/33g=
|
||||
SHA256 (cpphs-1.0.tar.gz) = pCSDIFpxdEfbG09qVeXeS4Z1H6cIcBBb7XjiKh1+6zk=
|
||||
SIZE (cpphs-1.0.tar.gz) = 43775
|
||||
MD5 (cpphs-1.4.tar.gz) = 6FsS/c9mNd6dyYyoPucIoA==
|
||||
RMD160 (cpphs-1.4.tar.gz) = oGFKiyDuEuePIapRe4liyqqw0xA=
|
||||
SHA1 (cpphs-1.4.tar.gz) = egYLYWB+mI4t03fBYIaSKgtIpkA=
|
||||
SHA256 (cpphs-1.4.tar.gz) = xmwUfsqwrGngZrFbMPy/QaCzb29HznuTytCZtsVkJPc=
|
||||
SIZE (cpphs-1.4.tar.gz) = 62078
|
||||
|
@ -10,13 +10,13 @@ obvious aesthetic ones:
|
||||
* For some Haskell systems, notably Hugs on Windows, a true cpp is
|
||||
not available by default.
|
||||
* Even for the other Haskell systems, the common cpp provided by the
|
||||
gcc 3.x series is changing subtly in ways that are incompatible
|
||||
with Haskell's syntax. There have always been problems with, for
|
||||
instance, string gaps, and prime characters in identifiers. These
|
||||
problems are only going to get worse.
|
||||
gcc 3.x and 4.x series has changed subtly in ways that are
|
||||
incompatible with Haskell's syntax. There have always been
|
||||
problems with, for instance, string gaps, and prime characters
|
||||
in identifiers. These problems are only going to get worse.
|
||||
|
||||
So, it seemed right to attempt to provide an alternative to cpp, both
|
||||
more compatible with Haskell, and itself written in Haskell so that it
|
||||
So, it seemed right to provide an alternative to cpp, both more
|
||||
compatible with Haskell, and itself written in Haskell so that it
|
||||
can be distributed with compilers. This version of the C pre-processor
|
||||
is pretty-much feature-complete, and compatible with the -traditional
|
||||
style.
|
||||
|
Loading…
Reference in New Issue
Block a user