openbsd-ports/print/mftrace/patches/patch-GNUmakefile_in
martynas c141d0f8ee - update to 1.2.15; to fix lilypond build with MODPY_VERSION=2.6
- fix HOMEPAGE, and MASTER_SITES
maintainer away until June 2011.  tweak & ok sthen@
2009-08-12 10:03:23 +00:00

31 lines
942 B
Plaintext

$OpenBSD: patch-GNUmakefile_in,v 1.2 2009/08/12 10:03:23 martynas 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