ports/67547: New port: sysutils/heirloom (040517)

Cyrille Lefevre cyrille.lefevre at laposte.net
Mon Jun 7 02:40:27 UTC 2004


The following reply was made to PR ports/67547; it has been noted by GNATS.

From: Cyrille Lefevre <cyrille.lefevre at laposte.net>
To: freebsd gnats <freebsd-gnats-submit at freebsd.org>,
	Thierry Thomas <thierry at freebsd.org>
Cc:  
Subject: Re: ports/67547: New port: sysutils/heirloom (040517)
Date: Mon, 7 Jun 2004 04:29:18 +0200

 Hi,
 
 MAKE_ENV should be MAKE_ARGS w/ gmake.
 
 let's try :
 
 cat << EOF > Makefile
 CC=cc
 all:;@echo CC is ${CC}
 EOF
 
 $ make
 CC is cc
 $ CC=gcc make
 CC is cc
 $ make CC=gcc
 CC is gcc
 
 so, the files/patch-build::mk.config patch you proposed isn't needed.
 
 about the failing 4.x build, sorry, but I can't fix the problem
 since I don't have any 4.x machine under my hand. so, I propose
 to add an IGNORE clause until the problem gets fixed (see below).
 
 PS : humm! while I was submitting this PR, there was a new release...
 also, fix removal of possibly non-existing empty dirs in pkg-plist.
 
 --- Makefile.orig	Thu Jun  3 23:15:08 2004
 +++ Makefile	Mon Jun  7 04:15:11 2004
 @@ -6,7 +6,7 @@
  #
  
  PORTNAME=	heirloom
 -PORTVERSION=	040517
 +PORTVERSION=	040603
  CATEGORIES=	sysutils
  MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
  MASTER_SITE_SUBDIR=	${PORTNAME}
 @@ -16,11 +16,18 @@
  
  RUN_DEPENDS=	ksh:${PORTSDIR}/shells/pdksh
  
 +.include <bsd.port.pre.mk>
 +
 +.if ${OSVERSION} < 500000
 +IGNORE=		does not build on FreeBSD 4.x which is missing wide-characters
 +.endif
 +
  USE_BZIP2=	yes
  USE_REINPLACE=	yes
  USE_GMAKE=	yes
 +MAKE_ARGS=	CC=${CC}
  MAKEFILE=	makefile
 -ALL_TARGET=	# none
 +ALL_TARGET=	bsd
  DATADIR=	${PREFIX}/${PORTNAME}
  REINPLACE_SUB=	DATADIR="${DATADIR}"
  
 @@ -91,4 +98,4 @@
  . endfor
  .endif
  
 -.include <bsd.port.mk>
 +.include <bsd.port.post.mk>
 --- distinfo.orig Thu Jun  3 23:16:04 2004
 +++ distinfo Thu Jun  3 23:04:15 2004
 @@ -1,2 +1,2 @@
 -MD5 (heirloom-040517.tar.bz2) = 2b0a5d7c68de557bf4e9ae5e08d9eb25
 -SIZE (heirloom-040517.tar.bz2) = 808302
 +MD5 (heirloom-040603.tar.bz2) = 8ea6afa405737853119af480e224bb4a
 +SIZE (heirloom-040603.tar.bz2) = 809372
 --- pkg-plist.orig Fri Jun  4 01:58:40 2004
 +++ pkg-plist Fri Jun  4 02:02:09 2004
 @@ -270,11 +270,11 @@
  @dirrm %%DATADIR%%/usr/ucb
  @dirrm %%DATADIR%%/usr/share/man/5man/man8
  @dirrm %%DATADIR%%/usr/share/man/5man/man7
 - at dirrm %%DATADIR%%/usr/share/man/5man/man6
 + at unexec rmdir %%DATADIR%%/usr/share/man/5man/man6 2> /dev/null || :
  @dirrm %%DATADIR%%/usr/share/man/5man/man5
 - at dirrm %%DATADIR%%/usr/share/man/5man/man4
 - at dirrm %%DATADIR%%/usr/share/man/5man/man3
 - at dirrm %%DATADIR%%/usr/share/man/5man/man2
 + at unexec rmdir %%DATADIR%%/usr/share/man/5man/man4 2> /dev/null || :
 + at unexec rmdir %%DATADIR%%/usr/share/man/5man/man3 2> /dev/null || :
 + at unexec rmdir %%DATADIR%%/usr/share/man/5man/man2 2> /dev/null || :
  @dirrm %%DATADIR%%/usr/share/man/5man/man1m
  @dirrm %%DATADIR%%/usr/share/man/5man/man1b
  @dirrm %%DATADIR%%/usr/share/man/5man/man1
 
 Cyrille Lefevre
 --
 mailto:cyrille.lefevre at laposte.net



More information about the freebsd-ports-bugs mailing list