Make klone honor CFLAGS and CC.
ok naddy@
This commit is contained in:
parent
223d5b0720
commit
5cccf448ab
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2007/09/16 00:27:06 merdely Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2008/01/23 21:22:27 merdely Exp $
|
||||
|
||||
COMMENT= small, Lisp-like interpreted language
|
||||
|
||||
DISTNAME= Klone359
|
||||
PKGNAME= klone-2.1a
|
||||
PKGNAME= klone-2.1ap0
|
||||
CATEGORIES= lang
|
||||
|
||||
MASTER_SITES= http://koala.ilog.fr/ftp/pub/Klone/
|
||||
@ -17,7 +17,9 @@ WANTLIB= c m
|
||||
WRKDIST= ${WRKDIR}/Klone
|
||||
|
||||
post-extract:
|
||||
@sed -e s#!!PREFIX!!#${PREFIX}# \
|
||||
@sed -e "s#!!PREFIX!!#${PREFIX}#; \
|
||||
s#!!CFLAGS!!#${CFLAGS}#; \
|
||||
s#!!CC!!#${CC}#" \
|
||||
${FILESDIR}/openbsd > ${WRKSRC}/Configs/openbsd
|
||||
|
||||
do-configure:
|
||||
|
@ -7,9 +7,9 @@ KLONEPATH ="\".:~/kl:!!PREFIX!!/lib/klone\""
|
||||
# system-needed libraries
|
||||
LIBS =
|
||||
# compilation flags , -O or -g
|
||||
FLAGS = -O
|
||||
FLAGS = !!CFLAGS!!
|
||||
# name (absolute or relative) of the compiler: cc, /bin/cc
|
||||
C_COMPILER = cc
|
||||
C_COMPILER = !!CC!!
|
||||
# various defines:
|
||||
DEFINES = -DSYSV_TIME -DVOID_SIGNALS
|
||||
# other linker -specific flags
|
||||
|
Loading…
Reference in New Issue
Block a user