openbsd-ports/fonts/mftrace/patches/patch-GNUmakefile_in

31 lines
944 B
Plaintext

$OpenBSD: patch-GNUmakefile_in,v 1.1.1.1 2011/07/19 09:16:08 jasper Exp $
--- GNUmakefile.in.orig Sat Feb 3 02:34:52 2007
+++ GNUmakefile.in Wed Aug 12 11:56:02 2009
@@ -8,7 +8,7 @@ FILES= mftrace.py GNUmakefile.in \
README.texi README.txt ChangeLog \
mftrace.spec.in mftrace.spec \
$(PY_MODULES) configure configure.in config.h.in
-CFLAGS = -Wall -O2
+CFLAGS += -Wall -O2
## retain during override.
CFLAGS += -I.
@@ -19,7 +19,7 @@ MANPAGES=mftrace.1
VERSION=@VERSION@
distdir=$(NAME)-$(VERSION)
prefix=@prefix@
-datadir=@datadir@/mftrace/
+datadir=$(MODPY_SITEPKG)
exec_prefix=@exec_prefix@
bindir=@bindir@
mandir=@mandir@
@@ -76,7 +76,7 @@ install: mftrace gf2pbm $(PYC_MODULES) install-man ins
install-py: $(PY_MODULES) $(PYC_MODULES)
install -d $(DESTDIR)$(datadir)
- install -m644 $^ $(DESTDIR)$(datadir)
+ install -m644 -p $^ $(DESTDIR)$(datadir)
install-man: $(MANPAGES)
install -d $(DESTDIR)$(mandir)/man1