From 585f6a3664fa862b104157c7f966074e2da4bfd3 Mon Sep 17 00:00:00 2001 From: Foxfair Hu Date: Tue, 2 Sep 2003 03:07:21 +0000 Subject: PR: 55708 Submitted by: Simon Barner Make wais to respect CC and CFLAGS. --- net/wais/Makefile | 1 + net/wais/files/patch-ac | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 net/wais/files/patch-ac (limited to 'net') diff --git a/net/wais/Makefile b/net/wais/Makefile index 0314a817c8a9..0ac0913fe6ca 100644 --- a/net/wais/Makefile +++ b/net/wais/Makefile @@ -7,6 +7,7 @@ PORTNAME= freeWAIS PORTVERSION= 0.5 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ftp://ftp.cnidr.org/software/freewais/ \ ftp://ftp.icm.edu.pl/vol/wojsyl/freewais/ \ diff --git a/net/wais/files/patch-ac b/net/wais/files/patch-ac new file mode 100644 index 000000000000..c83cf2d9846f --- /dev/null +++ b/net/wais/files/patch-ac @@ -0,0 +1,20 @@ +--- Makefile.freebsd.orig Mon Aug 18 22:03:40 2003 ++++ Makefile.freebsd Mon Aug 18 22:03:58 2003 +@@ -48,7 +48,7 @@ + # + # Some default programs + # CC = cc +-CC = gcc ++#CC = gcc + AR = ar + RM = /bin/rm + MV = mv +@@ -149,7 +149,7 @@ + # -DSOLARIS for SunOS 5.2 (Solaris 2.2) machines. + # + # Use this version of CFLAGS for BSDI +-CFLAGS = -I$(INCLUDE) -D__bsdi__ -DBSD43 -DTELL_USER -DUSG -DSECURE_SERVER -DRELEVANCE_FEEDBACK -DBOOLEANS -DPARTIALWORD -DLITERAL -DSOUND -DBIBDB ++CFLAGS += -I$(INCLUDE) -D__bsdi__ -DBSD43 -DTELL_USER -DUSG -DSECURE_SERVER -DRELEVANCE_FEEDBACK -DBOOLEANS -DPARTIALWORD -DLITERAL -DSOUND -DBIBDB + + # + # Flag definitions -- cgit v1.2.3