pkgsrc/lang/newlisp/patches/patch-configure-alt
ryoon 69cb28b82c Import newlisp-10.3.3 as lang/newlisp from wip/newlisp.
newLISP is a Lisp-like, general-purpose scripting language. It is
especially well-suited for applications in AI, web search, natural
language processing, and machine learning. Because of its small
resource requirements, newLISP is also excellent for embedded
systems applications. Most of the functions you will ever need are
already built in. This includes networking functions, support for
distributed and parallel processing, and Bayesian statistics.
2011-10-11 13:03:18 +00:00

26 lines
913 B
Text

$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}}