openbsd-ports/www/snownews/patches/patch-configure
martynas 5ac8851ec7 bugfix release snownews-1.5.12. remove hacks since it now uses
openssl instead of the homegrown md5 code
ok simon@
2009-09-18 20:51:35 +00:00

13 lines
600 B
Plaintext

$OpenBSD: patch-configure,v 1.3 2009/09/18 20:51:35 martynas Exp $
--- configure.orig Thu Sep 17 09:44:27 2009
+++ configure Thu Sep 17 11:10:45 2009
@@ -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 -lcrypto $xmlldflags \$(EXTRA_LDFLAGS) ";
my $use_nls = 1;