[BACK]Return to patch-ak CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / mbone / vat / patches

File: [cvs.NetBSD.org] / pkgsrc / mbone / vat / patches / patch-ak (download)

Revision 1.2, Mon Mar 13 13:17:16 2000 UTC (20 years, 6 months ago) by bouyer
Branch: MAIN
CVS Tags: pkgviews-base, pkgviews, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2, pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4, pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2, pkgsrc-2004Q1-base, pkgsrc-2004Q1, pkgsrc-2003Q4-base, pkgsrc-2003Q4, netbsd-1-6-RELEASE-base, netbsd-1-6-1-base, netbsd-1-6-1, netbsd-1-6, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH001, netbsd-1-4-PATCH003, buildlink2-base, buildlink2
Changes since 1.1: +30 -4 lines

- make sure to include $(CPPFLAGS) when compiling gsm files
- make it compile on solaris

$NetBSD: patch-ak,v 1.2 2000/03/13 13:17:16 bouyer Exp $

--- Makefile.in.orig	Thu Apr 25 15:20:32 1996
+++ Makefile.in	Mon Mar 13 14:11:24 2000
@@ -48,6 +48,7 @@
 C++ = @CXX@
 TABCC = @V_TABCC@
 CCOPT = @V_CCOPT@
+CPPFLAGS= @CPPFLAGS@
 
 INCLUDE_TK = @V_INCLUDE_TK@
 INCLUDE_TCL = @V_INCLUDE_TCL@
@@ -175,7 +176,7 @@
 	$(TABCC) $(RFLAG) -c $*.c
 
 $(SRC3): mktab.c
-	$(CC) $(CFLAGS) -o mktab mktab.c $(LIB) $(STATIC)
+	$(CC) $(CFLAGS) $(LDFLAGS) -o mktab mktab.c $(LIB) $(STATIC)
 	rm -f $(SRC3)
 	./mktab -mulaw > tabmulaw.c
 	./mktab -sum > tabmix.c
@@ -184,7 +185,7 @@
 	rm -f mktab
 
 vat-gsm.o: vat-gsm.c
-	rm -f $@; $(CC) -o $@ -c $(INCLUDE_GSM) $(CFLAGS) $*.c
+	rm -f $@; $(CC) -o $@ -c $(CPPFLAGS) $(CFLAGS) $*.c
 
 tar: force
 	tar=vatbin-`cat VERSION`-@V_TAR_TARGET@.tar.gz ; \
@@ -209,16 +210,10 @@
 	     rm ../$$name; chmod 444 $$tar
 
 install: force
-	 cp vat @prefix@/bin/vat; \
-	 chown bin @prefix@/bin/vat; \
-	 chgrp bin @prefix@/bin/vat; \
-	 chmod 555 @prefix@/bin/vat
+	${BSD_INSTALL_PROGRAM} vat @prefix@/bin
 
 install-man: force
-	cp vat.1 @prefix@/man/man1/vat.1
-	chown bin @prefix@/man/man1/vat.1
-	chgrp bin @prefix@/man/man1/vat.1
-	chmod 444 @prefix@/man/man1/vat.1
+	${BSD_INSTALL_MAN} vat.1 @prefix@/man/man1
 
 CLEAN = vat core core.vat tcl2c++ config.log config.cache
 clean: