diff options
author | grant <grant@pkgsrc.org> | 2004-01-29 12:55:35 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-01-29 12:55:35 +0000 |
commit | a5483fc63f264ed75dde3c90a9ad828ffe836e79 (patch) | |
tree | d952210437488634cb621757c90392e64c6da6f0 /archivers/ha/patches | |
parent | 9dba6c9789ac85b182ff62b263b147ac6ef712eb (diff) | |
download | pkgsrc-a5483fc63f264ed75dde3c90a9ad828ffe836e79.tar.gz |
bl3ify, don't override CC. fixes build with non-gcc.
Diffstat (limited to 'archivers/ha/patches')
-rw-r--r-- | archivers/ha/patches/patch-ab | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/archivers/ha/patches/patch-ab b/archivers/ha/patches/patch-ab index 5b59907a2f9..6fde962e31f 100644 --- a/archivers/ha/patches/patch-ab +++ b/archivers/ha/patches/patch-ab @@ -1,14 +1,18 @@ -$NetBSD: patch-ab,v 1.1 2001/07/15 11:49:42 jlam Exp $ +$NetBSD: patch-ab,v 1.2 2004/01/29 12:55:36 grant Exp $ ---- makefile.nix.orig Thu Jan 12 02:26:26 1995 +--- makefile.nix.orig 1995-01-12 18:26:26.000000000 +1100 +++ makefile.nix -@@ -23,8 +23,7 @@ +@@ -21,10 +21,9 @@ - CC = gcc - CPP = $(CC) -E + MCH = nix + +-CC = gcc +-CPP = $(CC) -E -CFLAGS = -Wall -O2 -c -I../$(MCH) -I../include -LDFLAGS = -O2 -+CFLAGS += -Wall -c -I../$(MCH) -I../include ++#CC = gcc ++#CPP = $(CC) -E ++CFLAGS += -c -I../$(MCH) -I../include MDEFINES = "CC=$(CC)" "CPP=$(CPP)" "CFLAGS=$(CFLAGS)" "DEFS=$(DEFS)" SUBDIRS = c $(MCH) include |