openbsd-ports/www/jesred/patches/patch-Makefile

39 lines
1.2 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-Makefile,v 1.1.1.1 2001/08/22 17:42:11 pvalchev Exp $
--- Makefile.orig Fri Jul 24 21:19:50 1998
+++ Makefile Wed Aug 22 11:09:56 2001
@@ -2,20 +2,20 @@
# HINT: If you want to run the program on an UltraSPARC driven machine,
# I recommend to use Sun C-Compiler >= 4.0 or gcc >= 2.8.0 with
# optimization level >= 4 for best performance.
-CC=cc
+#CC=cc
-INCLUDE = -I.
-LDFLAGS =
+#INCLUDE = -I.
+#LDFLAGS =
# Compiler Options
-AC_CFLAGS = -xO5 -mr -s -xcrossfile #-g -xsb # SUN cc >= 4.0
+#AC_CFLAGS = -xO5 -mr -s -xcrossfile #-g -xsb # SUN cc >= 4.0
#AC_CFLAGS = -O3 -s # SGI cc, AIX cc
#AC_CFLAGS = -O5 -s # GNU cc
# extra Libraries ( we need this for inet_addr(char *) only )
-XTRA_LIBS = -lnsl # Solaris 2.x
+#XTRA_LIBS = -lnsl # Solaris 2.x
#XTRA_LIBS = # AIX 4.2, Linux 2.x.x, IRIX 5.x, 6.x
# if you want to have the option, to enable debug message logging,
@@ -66,7 +66,7 @@ OBJS = \
CFILES = $(patsubst %.o,%.c,$(OBJS))
PROGS = jesred
-CFLAGS = $(AC_CFLAGS) $(INCLUDE)
+CFLAGS += $(AC_CFLAGS) $(INCLUDE)
LIBS = -L. $(XTRA_LIBS)
.SUFFIXES: .o