diff options
Diffstat (limited to 'lang/hugs/patches/patch-ac')
-rw-r--r-- | lang/hugs/patches/patch-ac | 31 |
1 files changed, 10 insertions, 21 deletions
diff --git a/lang/hugs/patches/patch-ac b/lang/hugs/patches/patch-ac index f42de4d800b..8624490107a 100644 --- a/lang/hugs/patches/patch-ac +++ b/lang/hugs/patches/patch-ac @@ -1,23 +1,12 @@ -$NetBSD: patch-ac,v 1.4 2005/11/03 22:35:53 rillig Exp $ +$NetBSD: patch-ac,v 1.5 2006/08/01 14:33:59 jmmv Exp $ ---- src/unix/configure.orig Sat Dec 15 16:20:04 2001 -+++ src/unix/configure Fri Mar 15 15:01:38 2002 -@@ -4608,8 +4608,8 @@ - -Wno-parentheses \ - " +--- libraries/tools/convert_libraries.orig 2006-05-08 15:20:29.000000000 +0200 ++++ libraries/tools/convert_libraries +@@ -165,6 +165,7 @@ build_package() { + esac --CFLAGS="-g" --OPTFLAGS="-O2" -+test -z "$CFLAGS" && CFLAGS="-g" -+test -z "$OPTFLAGS" && OPTFLAGS="-O2" - - case "`uname -s`" in - Darwin) CFLAGS="$CFLAGS -no-cpp-precomp"; LDFLAGS="$LDFLAGS -flat_namespace" ;; -@@ -4630,6 +4630,7 @@ - fi - - if test "$enable_debug" = yes; then -+ CFLAGS="$CFLAGS -g" - OPTFLAGS="" - else - DEBUGFLAGS="" + $HugsSetup configure --verbose --hugs \ ++ --prefix=${PREFIX} \ + --scratchdir="$top_dir/$target_dir" \ + --with-hsc2hs="$top_dir/libraries/tools/hsc2hs$bat" \ + --with-cpphs="$top_dir/libraries/tools/cpphs$bat" \ |