openbsd-ports/www/snownews/patches/patch-configure

13 lines
591 B
Plaintext

$OpenBSD: patch-configure,v 1.2 2008/01/14 22:40:39 martynas Exp $
--- configure.orig Tue Jan 8 11:48:59 2008
+++ configure Sat Jan 12 21:32:00 2008
@@ -12,7 +12,7 @@ my $xmlldflags = `xml2-config --libs`;
chomp($xmlldflags);
my $prefix = "/usr/local";
-my $cflags = "-Wall -Wno-format-y2k -O2 -DLOCALEPATH=\"\\\"\$(LOCALEPATH)\\\"\" -DOS=\\\"$os\\\" $xmlcflags \$(EXTRA_CFLAGS) ";
+my $cflags = "-Wall -Wno-format-y2k -DLOCALEPATH=\"\\\"\$(LOCALEPATH)\\\"\" -DOS=\\\"$os\\\" $xmlcflags \$(EXTRA_CFLAGS) ";
my $ldflags = "-lncurses $xmlldflags \$(EXTRA_LDFLAGS) ";
my $use_nls = 1;