25 lines
824 B
Plaintext
25 lines
824 B
Plaintext
$NetBSD: patch-aa,v 1.16 2016/01/03 04:33:49 ryoon Exp $
|
|
|
|
* Pass LDFLAGS from pkgsrc's Makefile
|
|
|
|
--- Makefile.orig 2016-01-01 08:20:29.000000000 +0000
|
|
+++ Makefile
|
|
@@ -15,7 +15,7 @@ DATADIR = $(SHAREDIR)/data
|
|
ICONDIR = $(SHAREDIR)/icons
|
|
LOCALESDIR = $(SHAREDIR)/locales
|
|
DOCDIR = $(PREFIX)/share/doc/fotoxx
|
|
-MANDIR = $(PREFIX)/share/man/man1
|
|
+MANDIR = $(PREFIX)/${PKGMANDIR}/man1
|
|
APPDATADIR = $(PREFIX)/share/appdata
|
|
MENUFILE = $(PREFIX)/share/applications/fotoxx.desktop
|
|
|
|
@@ -94,7 +94,7 @@ install: fotoxx uninstall
|
|
cp -f -R data/* $(DESTDIR)$(DATADIR)
|
|
cp -f -R icons/* $(DESTDIR)$(ICONDIR)
|
|
cp -f -R locales/* $(DESTDIR)$(LOCALESDIR)
|
|
- cp -n -R doc/* $(DESTDIR)$(DOCDIR)
|
|
+ cp -R doc/* $(DESTDIR)$(DOCDIR)
|
|
gzip -f -9 $(DESTDIR)$(DOCDIR)/changelog
|
|
cp -f -R appdata/* $(DESTDIR)$(APPDATADIR)
|
|
# man page
|