From owner-freebsd-ports Tue Mar 26 12:30:32 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CF05337B41C for ; Tue, 26 Mar 2002 12:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2QKU1f63925; Tue, 26 Mar 2002 12:30:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 723B737B417 for ; Tue, 26 Mar 2002 12:20:29 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2QKKTn62266; Tue, 26 Mar 2002 12:20:29 -0800 (PST) (envelope-from nobody) Message-Id: <200203262020.g2QKKTn62266@freefall.freebsd.org> Date: Tue, 26 Mar 2002 12:20:29 -0800 (PST) From: Norbert Papke To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/36341: [patch] devel/SN marked as broken Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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