summaryrefslogtreecommitdiff
path: root/lang/newlisp/patches/patch-configure-alt
blob: 6751a4f073277950772941e2c8844ad71bb1612e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-configure-alt,v 1.1.1.1 2011/10/11 13:03:18 ryoon Exp $

Use default CFLAGS and LDFLAGS.
Add DragolFly support.

--- configure-alt.orig	2011-09-21 14:21:04.000000000 +0000
+++ configure-alt
@@ -64,6 +64,7 @@ echo
 case `uname` in 
 	Darwin) true ${os_type:=MAC_OSX} ;;
 	Linux)  true ${os_type:=LINUX} ;;
+	DragonFly) true ${os_type:=_BSD} ;;
 	FreeBSD) true ${os_type:=_BSD} ;;
 	NetBSD) true ${os_type:=_BSD} ;;
 	OpenBSD) true ${os_type:=_BSD} ;;
@@ -410,8 +411,8 @@ 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}
-LDFLAGS = ${LDFLAGS:-${DEFAULT_LDFLAGS}}
+CFLAGS = ${CFLAGS} ${DEFAULT_CFLAGS} ${INCLUDES}
+LDFLAGS = ${LDFLAGS} ${DEFAULT_LDFLAGS}
 OBJS = ${OBJS:-${DEFAULT_OBJS}}
 STRIP = ${STRIP:-${DEFAULT_STRIP}}
 TARG = ${TARG:-${DEFAULT_TARG}}