freebsd-ports/editors/gnotepad+/files/patch-aa
2000-10-05 07:22:56 +00:00

30 lines
1,003 B
Text

--- Makefile.in.orig Wed May 10 09:11:34 2000
+++ Makefile.in Mon Jun 5 20:59:43 2000
@@ -97,8 +97,8 @@
CLEANFILES = *~ .deps/*
-Applicationsdir = $(datadir)/gnome/apps/Applications
-Applications_DATA = gnotepad+.desktop gnotepad+.spec
+@HAVE_GNOME_TRUE@Applicationsdir = $(datadir)/apps/Applications
+@HAVE_GNOME_TRUE@Applications_DATA = gnotepad+.desktop gnotepad+.spec
SUBDIRS = docs po intl src
@@ -217,7 +217,6 @@
install-ApplicationsDATA: $(Applications_DATA)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(Applicationsdir)
@list='$(Applications_DATA)'; for p in $$list; do \
if test -f $(srcdir)/$$p; then \
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(Applicationsdir)/$$p"; \
@@ -431,7 +430,7 @@
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
installdirs: installdirs-recursive
installdirs-am:
- $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(Applicationsdir) \
+ $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 \
$(DESTDIR)$(pkgdatadir)