openbsd-ports/lang/newlisp/patches/patch-configure-alt
jasper 1ae9ba4e27 - remove a bunch of useless variables
- cleanup REGRESS mess
- remove CFLAGS/LDFLAGS mess
- don't unconditionally strip the binary

please import new ports with an OK...
2010-10-27 09:36:34 +00:00

25 lines
746 B
Plaintext

$OpenBSD: patch-configure-alt,v 1.1 2010/10/27 09:36:34 jasper Exp $
- Don't unconditionally strip the binary.
- Add missing CFLAG.
--- configure-alt.orig Fri Oct 1 13:39:14 2010
+++ configure-alt Wed Oct 27 11:32:55 2010
@@ -398,7 +398,7 @@ fi
cat > makefile_build <<EOF
# makefile for newLISP v. 10.1.x generated by the configure script (configure-alt)
CC = ${CC:-${DEFAULT_CC}}
-CFLAGS = ${CFLAGS:-${DEFAULT_CFLAGS}} ${INCLUDES}
+CFLAGS = ${CFLAGS:-${DEFAULT_CFLAGS}} -c ${INCLUDES}
LDFLAGS = ${LDFLAGS:-${DEFAULT_LDFLAGS}}
OBJS = ${OBJS:-${DEFAULT_OBJS}}
STRIP = ${STRIP:-${DEFAULT_STRIP}}
@@ -408,7 +408,6 @@ ARCHFLAGS = ${ARCHFLAGS:-${DEFAULT_ARCHFLAGS}}
default: \$(OBJS)
${LINKSTAGE}
-${STRIPBINARY}
.c.o:
${COMPILEOBJS}