Bug 11432

Summary: Update: deskutils/teapot
Product: Ports & Packages Reporter: cpiazza <cpiazza>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description cpiazza 1999-05-01 23:10:00 UTC
Update to teapot-1.3; honour CFLAGS and CC, NOPORTDOCS.

Fix: 

-Chris--rJRCfsa7uFbwJl2puMNQYVPtf5wPt7xfmescltRvTGA3HzCi
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

Index: teapot/Makefile
===================================================================
RCS file: /cvs/FreeBSD/ports/deskutils/teapot/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	1998/08/07 22:17:53	1.2
+++ Makefile	1999/05/01 21:59:03
@@ -1,12 +1,12 @@
 # New ports collection makefile for:	teapot
-# Version required:			1.01
+# Version required:			1.03
 # Date created:				7 January 1998
 # Whom:					Andrey Zakhvatov
 #
 # $Id: Makefile,v 1.2 1998/08/07 22:17:53 asami Exp $
 #
 
-DISTNAME=	teapot-1.01
+DISTNAME=	teapot-1.03
 CATEGORIES=	deskutils
 MASTER_SITES=	ftp://cantor.informatik.rwth-aachen.de/pub/unix/
 
@@ -23,10 +23,12 @@
 .for file in asqrt asqrt.README counter counter.README life life.README sqrt sqrt.README
 	@ ${INSTALL_DATA} ${WRKSRC}/examples/${file} ${PREFIX}/share/examples/teapot
 .endfor
+.if !defined(NOPORTDOCS)
 	@ ${MKDIR} ${PREFIX}/share/doc/teapot
 	@ ${INSTALL_DATA} ${WRKSRC}/README-en.html ${PREFIX}/share/doc/teapot/README.html
 .for file in teapot.doc teapot.html teapot.ps
 	@ ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${PREFIX}/share/doc/teapot
 .endfor
+.endif
 
 .include <bsd.port.mk>
Index: teapot/files/md5
===================================================================
RCS file: /cvs/FreeBSD/ports/deskutils/teapot/files/md5,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 md5
--- md5	1998/03/27 10:31:47	1.1.1.1
+++ md5	1999/05/01 21:50:38
@@ -1 +1 @@
-MD5 (teapot-1.01.tar.gz) = 7a5191788f86d3df5d589a7efde714c3
+MD5 (teapot-1.03.tar.gz) = c06d01c1cd8f260c4eeecf0e514fd89f
Index: teapot/patches/patch-aa
===================================================================
RCS file: /cvs/FreeBSD/ports/deskutils/teapot/patches/patch-aa,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-aa
--- patch-aa	1998/03/27 10:31:48	1.1.1.1
+++ patch-aa	1999/05/01 21:52:50
@@ -1,5 +1,5 @@
---- Makefile.orig	Wed Mar 18 19:12:56 1998
-+++ Makefile	Fri Mar 27 11:22:13 1998
+--- Makefile.orig	Sun Jun 14 08:11:40 1998
++++ Makefile	Sat May  1 14:52:37 1999
 @@ -1,16 +1,16 @@
  #{{{script}}}#{{{ Linux, moria machines, gcc
 -CFLAGS=		-g -pipe -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common
@@ -29,8 +29,8 @@
 -#CFLAGS=		-pipe -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common
 -#CPPFLAGS=	-I./.curses.h -DNO_POSIX_SOURCE
 -#LIBS=		-lncurses -lmytinfo -lm
-+CC=		gcc
-+CFLAGS=		-pipe -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common -I./.curses.h -DNO_POSIX_SOURCE
++CC?=		gcc
++CFLAGS+=	-Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common -I./.curses.h -DNO_POSIX_SOURCE
 +LIBS=		-lncurses -lmytinfo -lm
  #LDFLAGS=	
  #MAKEDEPEND=	gcc -MM
Comment 1 Steve Price freebsd_committer freebsd_triage 1999-05-03 03:10:44 UTC
State Changed
From-To: open->closed

Update committed, thanks!