Date: Tue, 26 Mar 2002 12:20:29 -0800 (PST) From: Norbert Papke <npapke@acm.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/36341: [patch] devel/SN marked as broken Message-ID: <200203262020.g2QKKTn62266@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 36341 >Category: ports >Synopsis: [patch] devel/SN marked as broken >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 26 12:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Norbert Papke >Release: 4.5-Stable >Organization: >Environment: FreeBSD proven.2y.net 4.5-STABLE FreeBSD 4.5-STABLE #9: Tue Mar 19 08:48:26 PST 2002 npapke@proven.2y.net:/usr/obj/usr/src/sys/NGP i386 >Description: The devel/SN port has been marked as broken because it does not build. The build problems can be attributed to the fact that /usr/include/wctype.h exists but is not implemented. Consequently autoheader will determine that the system has the include file and attempt to use it. The workaround is to remove the HAVE_WCTYPE_H define from generated config.h. Attached is a patch to work around this. >How-To-Repeat: type 'make' in /usr/port/devel/SN >Fix: diff -u Makefile.orig Makefile --- Makefile.orig Tue Mar 26 11:36:27 2002 +++ Makefile Tue Mar 26 12:10:03 2002 @@ -7,6 +7,7 @@ PORTNAME= SN PORTVERSION= 4.5.2 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ftp://ftp.unina.it/pub/Unix/cygnus/%SUBDIR% \ ftp://unix.hensa.ac.uk/mirrors/sourceware.cygnus.com/pub/%SUBDIR% \ @@ -24,8 +25,6 @@ MAINTAINER= dburr@FreeBSD.ORG -BROKEN= "Does not build" - PREFIX= ${LOCALBASE}/SN GNU_CONFIGURE= yes MAKEINSTALL= ${SETENV} ${MAKE_ENV} ${GMAKE} install @@ -41,6 +40,10 @@ @${MKDIR} ${WRKSRC} @cd ${WRKSRC}; \ ${SNSRC2}/configure --prefix=${PREFIX} ${CONFIGURE_TARGET} + +post-configure: + ${MV} ${WRKSRC}/grep/config.h ${WRKSRC}/grep/config.h.orig + ${SED} -e 's/\(^#define HAVE_WCTYPE_H.*\)/\/*\1*\//' < ${WRKSRC}/grep/config.h.orig > ${WRKSRC}/grep/config.h do-install: .for i in bin lib >Release-Note: >Audit-Trail: >Unformatted: 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?200203262020.g2QKKTn62266>