Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jun 2004 16:11:50 -0700 (PDT)
From:      Thierry Thomas <thierry@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)
Message-ID:  <200406042311.i54NBoXh013548@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406042311.i54NBoXh013548>