ports/66844: [PATCH] devel/pccts: avoid "installation successful" in the build target

Roman Neuhauser neuhauser at chello.cz
Fri May 21 10:20:26 UTC 2004


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

From: Roman Neuhauser <neuhauser at chello.cz>
To: Volker Stolz <vs at FreeBSD.org>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: ports/66844: [PATCH] devel/pccts: avoid "installation successful" in the build target
Date: Fri, 21 May 2004 12:16:01 +0200

 # vs at FreeBSD.org / 2004-05-21 11:11:09 +0200:
 > Once I again I have to disagree ;) You should simply remove the
 > offending @echo from the applications Makefile instead of creating an
 > explicit do-build-target. 
 > You are making maintenance harder, e.g. if there's an update which
 > changes the "inner" machinery (though I think pccts is EOL).
 
     Would a patch like the one below please you more?
     This would clearly make maintenance harder, e. g. there's an update
     which changes the banner, and the patch doesn't apply anymore.
     Plus it's roughly 40 lines instead of 5 or 6.
 
     But this is all moot, pccts has been superceded by antlr, and
     doesn't seem to be developed any more.  See http://www.antlr.org/
 
 > This would also avoid touching the do-install-part, right?
 
     No it would not. The upstream makefile is... very unorthodox.
 
 --- makefile.orig	Fri May 21 12:06:12 2004
 +++ makefile	Fri May 21 12:06:54 2004
 @@ -20,41 +20,11 @@
  #COPT=-O2
  
  pccts:
 -	@echo " "
 -	@echo "             Welcome to PCCTS 1.33MR33 installation"
 -	@echo " "
 -	@echo "             (Version 1.33 Maintenance Release #33)" # mrxxx
 -	@echo " "
 -	@echo "                  Released 19 April 2002"
 -	@echo " "
 -	@echo "                        Featuring"
 -	@echo "         ANTLR     -- ANother Tool for Language Recognition"
 -	@echo "         DLG       -- DFA-based Lexical Analyzer Generator"
 -	@echo "         SORCERER  -- Source-to-source translator (tree walker)" 
 -	@echo " "
 -	@echo "                  http://www.antlr.org"	
 -	@echo " "
 -	@echo "             Trouble reports to tmoog at polhode.com"
 -	@echo "             Additional PCCTS 1.33 information at"
 -	@echo "                  http://www.polhode.com"
 -	@echo
 -	@echo
 -	@echo "To substitute gcc for CC to invoke compiler: make CC=gcc"
 -	@echo "If there are problems with cr and lf try: unzip -a ..."
 -	@echo
 -#
  	@if [ ! -d $(BINDIR) ] ; then mkdir $(BINDIR) ; fi
 -	@echo Making executables...
  	(cd ./antlr; $(MAKE) CC="$(CC)" COPT="$(COPT)")
 -	@echo antlr executable now in $(BINDIR)
  	(cd ./dlg; $(MAKE) CC="$(CC)" COPT="$(COPT)")
 -	@echo dlg executable now in $(BINDIR)
  	(cd ./sorcerer; $(MAKE) CC="$(CC)" COPT="$(COPT)")
 -	@echo sorcerer executable now in $(BINDIR)
  	(cd ./support/genmk; $(MAKE) CC="$(CC)" COPT="$(COPT)"; mv genmk ../../$(BINDIR))
 -	@echo genmk executable now in $(BINDIR)
 -	@echo
 -	@echo "       PCCTS 1.33MR33 installation complete"  # MRXXX
  
  clean:
  	(cd ./antlr; $(MAKE) -s clean)
 
 -- 
 FreeBSD 4.9-RELEASE-p2
 12:07PM up 4:02, 8 users, load averages: 0.00, 0.01, 0.00



More information about the freebsd-ports-bugs mailing list