diff options
Diffstat (limited to 'net-misc/urlview/files/urlview-0.9-DESTDIR.patch')
-rw-r--r-- | net-misc/urlview/files/urlview-0.9-DESTDIR.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net-misc/urlview/files/urlview-0.9-DESTDIR.patch b/net-misc/urlview/files/urlview-0.9-DESTDIR.patch new file mode 100644 index 00000000000..8c4cfe816b6 --- /dev/null +++ b/net-misc/urlview/files/urlview-0.9-DESTDIR.patch @@ -0,0 +1,23 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -11,6 +11,7 @@ + CLEANFILES = *~ *.orig *.rej + + install-data-local: +- $(INSTALL_DATA) urlview.man $(mandir)/man1/urlview.1 ++ $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 ++ $(INSTALL_DATA) urlview.man ${DESTDIR}$(mandir)/man1/urlview.1 + + # how to create a target for uninstall-data-local??? +--- a/Makefile.in ++++ b/Makefile.in +@@ -318,7 +318,8 @@ + + + install-data-local: +- $(INSTALL_DATA) urlview.man $(mandir)/man1/urlview.1 ++ $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 ++ $(INSTALL_DATA) urlview.man $(DESTDIR)$(mandir)/man1/urlview.1 + + # how to create a target for uninstall-data-local??? + |