Date: Wed, 3 Apr 2002 13:40:04 -0800 (PST) From: Oliver Braun <obraun@informatik.unibw-muenchen.de> To: freebsd-ports@FreeBSD.org Subject: Re: ports/36139: [Maintainer Update] Update lang/nhc98 to 1.12, remove FORBIDDEN Message-ID: <200204032140.g33Le4R96553@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/36139; it has been noted by GNATS. From: Oliver Braun <obraun@informatik.unibw-muenchen.de> To: "David W. Chapman Jr." <dwcjr@inethouston.net> Cc: freebsd-gnats-submit@freebsd.org Subject: Re: ports/36139: [Maintainer Update] Update lang/nhc98 to 1.12, remove FORBIDDEN Date: Wed, 3 Apr 2002 23:05:13 +0200 With the following patch nhc98 builds on -current using lang/ghc. It was not possible to build nhc98 with cc on -current, but I assume that most people who want to use nhc98 are also using ghc. So this might be no big problem. I am further working with the developers on this problem, which also occurs on some Solaris versions. I would appreciate, if someone could commit this monster ;o) I can also submit an "all-in-one" diff against the current cvs version, if this makes it easier to check and commit. Kind Regards, Olli diff -ruN nhc98.old/Makefile nhc98/Makefile --- nhc98.old/Makefile Wed Apr 3 22:50:47 2002 +++ nhc98/Makefile Wed Apr 3 22:36:38 2002 @@ -22,6 +22,12 @@ BUILD_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk .endif +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 500000 +BUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc +.endif + WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST= ${WRKSRC}/pkg-plist @@ -36,6 +42,10 @@ USE_GMAKE= yes HAS_CONFIGURE= yes +.if ${OSVERSION} >= 500000 +CONFIGURE_ARGS+= --buildwith=ghc +.endif + .if !defined(NOPORTDOCS) CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc/nhc98 +docs .endif @@ -90,4 +100,4 @@ .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204032140.g33Le4R96553>