From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 4 16:12:15 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8318016A4CE; Fri, 4 Jun 2004 16:12:15 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 684B843D1F; Fri, 4 Jun 2004 16:12:15 -0700 (PDT) (envelope-from thierry@FreeBSD.org) Received: from freefall.freebsd.org (thierry@localhost [127.0.0.1]) i54NBoUW013552; Fri, 4 Jun 2004 16:11:50 -0700 (PDT) (envelope-from thierry@freefall.freebsd.org) Received: (from thierry@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i54NBoXh013548; Fri, 4 Jun 2004 16:11:50 -0700 (PDT) (envelope-from thierry) Date: Fri, 4 Jun 2004 16:11:50 -0700 (PDT) From: Thierry Thomas Message-Id: <200406042311.i54NBoXh013548@freefall.freebsd.org> To: thierry@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/67547: New port: sysutils/heirloom (040517) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2004 23:12:15 -0000 Synopsis: New port: sysutils/heirloom (040517) Class-Changed-From-To: maintainer-update->change-request Class-Changed-By: thierry Class-Changed-When: Fri Jun 4 16:09:25 PDT 2004 Class-Changed-Why: 1) I propose the following patch to respect CC: diff -urN sysutils/heirloom.orig/Makefile sysutils/heirloom/Makefile --- sysutils/heirloom.orig/Makefile Sat Jun 5 01:04:28 2004 +++ sysutils/heirloom/Makefile Sat Jun 5 00:53:18 2004 @@ -20,6 +20,7 @@ USE_REINPLACE= yes USE_GMAKE= yes MAKEFILE= makefile +MAKE_ENV= CC=${CC} ALL_TARGET= # none DATADIR= ${PREFIX}/${PORTNAME} REINPLACE_SUB= DATADIR="${DATADIR}" @@ -77,7 +78,6 @@ ${WRKSRC}/build/mk.config ${WRKSRC}/su/su.dfl.in post-install: compress-man install-doc - install-doc: .if !defined(NOPORTDOCS) diff -urN sysutils/heirloom.orig/files/patch-build::mk.config sysutils/heirloom/files/patch-build::mk.config --- sysutils/heirloom.orig/files/patch-build::mk.config Sat Jun 5 01:04:28 2004 +++ sysutils/heirloom/files/patch-build::mk.config Sat Jun 5 00:49:53 2004 @@ -1,5 +1,5 @@ ---- build/mk.config.orig Mon May 17 21:43:22 2004 -+++ build/mk.config Thu Jun 3 16:25:47 2004 +--- ./build/mk.config.orig Mon May 17 21:43:22 2004 ++++ ./build/mk.config Sat Jun 5 00:49:30 2004 @@ -14,57 +14,57 @@ # Location for binaries that have no special personality. This location # may be identical to that of one of the first three personalities below. @@ -111,6 +111,15 @@ USE_BZLIB = 1 # +@@ -129,7 +129,7 @@ + # + + #CC = $(HOME)/src/diet gcc +-CC = cc ++#CC = cc + WARN = -Wchar-subscripts -Wformat -Wno-format-y2k -Wimplicit \ + -Wmissing-braces -Wsequence-point -Wreturn-type -Wtrigraphs \ + -Wunused-function -Wunused-label -Wunused-variable -Wunused-value \ @@ -178,9 +178,9 @@ # defines here. Leave XO5FL, XO6FL, and GNUFL empty on Solaris, Open UNIX, # and FreeBSD. 2) It builds fine on -5, but fails on -STABLE: gmake[1]: Entering directory `/usr/ports/sysutils/heirloom/work/heirloom-040517/libuxre' cc -O2 -fomit-frame-pointer -D__NO_STRING_INLINES -I. -c onefile.c In file included from bracket.c:32, from onefile.c:33: re.h:51: syntax error before `wctype_t' re.h:54: syntax error before `wctype_t' In file included from onefile.c:33: bracket.c: In function `chcls': bracket.c:153: syntax error before `wct' bracket.c:159: `wct' undeclared (first use in this function) bracket.c:159: (Each undeclared identifier is reported only once bracket.c:159: for each function it appears in.) bracket.c:162: structure has no member named `type' bracket.c:165: structure has no member named `extype' bracket.c:166: structure has no member named `extype' bracket.c:166: `wctype_t' undeclared (first use in this function) bracket.c:171: structure has no member named `extype' bracket.c: In function `libuxre_bktfree': bracket.c:678: structure has no member named `extype' bracket.c:679: structure has no member named `extype' bracket.c: In function `libuxre_bktmbexec': bracket.c:703: `wctype_t' undeclared (first use in this function) bracket.c:703: `wctp' undeclared (first use in this function) bracket.c:703: structure has no member named `type' bracket.c:720: structure has no member named `type' bracket.c:721: structure has no member named `extype' gmake[1]: *** [onefile.o] Erreur 1 gmake[1]: Leaving directory `/usr/ports/sysutils/heirloom/work/heirloom-040517/libuxre' gmake: *** [all] Erreur 2 *** Error code 2 Stop in /usr/ports/sysutils/heirloom. http://www.freebsd.org/cgi/query-pr.cgi?pr=67547