diff options
author | jlam <jlam> | 2000-10-12 16:58:57 +0000 |
---|---|---|
committer | jlam <jlam> | 2000-10-12 16:58:57 +0000 |
commit | 498a6e32a86bb172b5fad2dcd9216409d36f3064 (patch) | |
tree | 7327eb183543434d822ad4a39e4b174e1031a411 | |
parent | 65540ea4f244c90881c02752cc0752d757514df7 (diff) | |
download | pkgsrc-498a6e32a86bb172b5fad2dcd9216409d36f3064.tar.gz |
Honor CXXFLAGS passed in from environment.
-rw-r--r-- | devel/cmdline/Makefile | 3 | ||||
-rw-r--r-- | devel/cmdline/files/patch-sum | 4 | ||||
-rw-r--r-- | devel/cmdline/patches/patch-aa | 11 |
3 files changed, 14 insertions, 4 deletions
diff --git a/devel/cmdline/Makefile b/devel/cmdline/Makefile index 3398217bd8f..18fef55cb54 100644 --- a/devel/cmdline/Makefile +++ b/devel/cmdline/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2000/08/25 16:15:52 jlam Exp $ +# $NetBSD: Makefile,v 1.2 2000/10/12 16:58:57 jlam Exp $ DISTNAME= CmdLine PKGNAME= cmdline-${PKG_VERS} @@ -24,6 +24,7 @@ MOREUSRDEFS+= -DHAVE_READLINE_READLINE_H MOREUSRLIBS+= ${LDFLAGS} -lreadline -ltermcap .endif +MAKE_ENV+= OPT="${CXXFLAGS}" MAKE_ENV+= MOREUSRDEFS="${MOREUSRDEFS}" MAKE_ENV+= MOREUSRLIBS="${MOREUSRLIBS}" diff --git a/devel/cmdline/files/patch-sum b/devel/cmdline/files/patch-sum index 0130f91d9eb..6a589235842 100644 --- a/devel/cmdline/files/patch-sum +++ b/devel/cmdline/files/patch-sum @@ -1,6 +1,6 @@ -$NetBSD: patch-sum,v 1.1.1.1 2000/08/25 16:15:52 jlam Exp $ +$NetBSD: patch-sum,v 1.2 2000/10/12 16:58:57 jlam Exp $ -MD5 (patch-aa) = 1b104107cf882e4cb3ffbc9eff23fce7 +MD5 (patch-aa) = b3b4719d307aadd1b44447aa9905c79b MD5 (patch-ab) = a23bca184a8937f1a19f4e814bb88038 MD5 (patch-ac) = 5463c6295dacd48b3d102599fac5e2c3 MD5 (patch-ad) = d1c3f24f88189d1d00c5a5fb39cc15ab diff --git a/devel/cmdline/patches/patch-aa b/devel/cmdline/patches/patch-aa index 1ad6e446041..8e5aada16cf 100644 --- a/devel/cmdline/patches/patch-aa +++ b/devel/cmdline/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1.1.1 2000/08/25 16:15:52 jlam Exp $ +$NetBSD: patch-aa,v 1.2 2000/10/12 16:58:57 jlam Exp $ --- Config.mk.orig Thu Jan 2 13:33:36 1997 +++ Config.mk @@ -51,6 +51,15 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/08/25 16:15:52 jlam Exp $ ## option to specify other include directories to search INC=-I +@@ -158,7 +158,7 @@ + DEF=-D + + ## option to produce optimized code +-OPT=-O ++#OPT=-O + + ## option to produce debugging information + DBG=-g @@ -183,7 +183,8 @@ FLAG=$(OPT) # FLAG=$(DBG) |