pkgsrc/archivers/unace/patches/patch-aa

30 lines
728 B
Text

$NetBSD: patch-aa,v 1.2 2001/07/16 10:21:15 jlam Exp $
--- unix/makefile.orig Wed Jul 1 04:29:10 1998
+++ unix/makefile
@@ -16,11 +16,11 @@
#CFLAGS = -Wall -O3 -s #-DNDEBUG
#CFLAGS = -g -Wall -DMDEBUG
#CFLAGS = -O3 -fno-strength-reduce -fomit-frame-pointer # These are for Linux
-CFLAGS = -O -g -Wall -dLO_HI_BYTE_ORDER
+CFLAGS += -g -Wall
CHALLOC = challoc.o
CHALLOC =
CHNEW = chnew.o challoc.o
-CC = gcc
+#CC = gcc
ifeq ($(OSTYPE), Linux)
CFLAGS += -DUNIX -DCASEINSENSE
@@ -36,9 +36,10 @@
# not all systems require the math library
#LIBS = -lm
+all: unace
unace$(EXEEXT): $(OBJ) $(CHALLOC)
- gcc $(CFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
clean:
rm -f *.o a.out core unace unace.exe