diff options
author | jlam <jlam@pkgsrc.org> | 2001-05-22 06:54:43 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-05-22 06:54:43 +0000 |
commit | f646f28d9208fcead0d79fe4351b79673f1d12d4 (patch) | |
tree | d0c297571aaa2c2136893c8b1c0c14126ba4494a /lang/hugs | |
parent | 515c44df5bbbd1edc89c01054ccb6e2d8cd589a9 (diff) | |
download | pkgsrc-f646f28d9208fcead0d79fe4351b79673f1d12d4.tar.gz |
Honor CFLAGS passed in from environment during build.
Diffstat (limited to 'lang/hugs')
-rw-r--r-- | lang/hugs/distinfo | 3 | ||||
-rw-r--r-- | lang/hugs/patches/patch-ac | 23 |
2 files changed, 25 insertions, 1 deletions
diff --git a/lang/hugs/distinfo b/lang/hugs/distinfo index 79f0ce93c55..d1c368b3ea5 100644 --- a/lang/hugs/distinfo +++ b/lang/hugs/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2001/05/22 06:38:09 jlam Exp $ +$NetBSD: distinfo,v 1.4 2001/05/22 06:54:43 jlam Exp $ SHA1 (hugs98-Feb2000.tar.gz) = acadac22bad6509213a25035180f6373bd0192f5 Size (hugs98-Feb2000.tar.gz) = 567528 bytes SHA1 (patch-aa) = c7e05ca44740a4a39595ab95149e6064b9d99ca9 SHA1 (patch-ab) = 81d75e31db129be9f3e38e330c6c7f3cca375784 +SHA1 (patch-ac) = 60bd202e68adf91444e0fa0b848277702ebd5146 diff --git a/lang/hugs/patches/patch-ac b/lang/hugs/patches/patch-ac new file mode 100644 index 00000000000..e3ca0485098 --- /dev/null +++ b/lang/hugs/patches/patch-ac @@ -0,0 +1,23 @@ +$NetBSD: patch-ac,v 1.1 2001/05/22 06:54:43 jlam Exp $ + +--- configure.orig Tue Feb 29 05:29:00 2000 ++++ configure Tue May 22 02:48:58 2001 +@@ -3628,8 +3628,8 @@ + -Wno-parentheses \ + " + +-CFLAGS="-g" +-OPTFLAGS="-O2" ++test -z "$CFLAGS" && CFLAGS="-g" ++test -z "$OPTFLAGS" && OPTFLAGS="-O2" + + if test "$enable_lint" = yes; then + if test "$ac_cv_prog_CC" = "gcc"; then +@@ -3645,6 +3645,7 @@ + fi + + if test "$enable_debug" = yes; then ++ CFLAGS="-g" + OPTFLAGS="" + else + DEBUGFLAGS="" |