openbsd-ports/www/snownews/patches/patch-Makefile
2004-01-25 05:49:35 +00:00

22 lines
1.0 KiB
Plaintext

$OpenBSD: patch-Makefile,v 1.6 2004/01/25 05:49:35 jolan Exp $
--- Makefile.orig 2004-01-23 06:13:29.000000000 -0600
+++ Makefile 2004-01-23 17:07:45.000000000 -0600
@@ -2,7 +2,7 @@ include Makefile.inc
LDFLAGS = -lncurses `xml2-config --libs` $(EXTRA_LDFLAGS)
OBJFILES = main.o netio.o interface.o xmlparse.o updatecheck.o conversions.o dialog.o ui-support.o categories.o about.o cookies.o
-CFLAGS = -Wall -O2 -DLOCALEPATH="\"$(LOCALEPATH)\"" -DOS=\"$(shell uname)\" `xml2-config --cflags` $(EXTRA_CFLAGS)
+CFLAGS+= -Wall -DLOCALEPATH="\"$(LOCALEPATH)\"" -DOS=\"$(shell uname)\" `xml2-config --cflags` $(EXTRA_CFLAGS)
VERSION = `grep VERSION version.h | sed s/\"//g | sed s/\#define\ VERSION\ //`
MAN = doc/man
DISTDIR = snownews-$(VERSION)
@@ -29,7 +29,7 @@ install: snownews snownews.1 locales
if [ ! -d "$(PREFIX)/bin" ]; then \
mkdir -p $(PREFIX)/bin; \
fi
- $(INSTALL) -s snownews $(PREFIX)/bin
+ $(INSTALL) snownews $(PREFIX)/bin
$(INSTALL) opml2snow $(PREFIX)/bin
$(MAKE) -C $(MAN) install-man
$(MAKE) -C po install