summaryrefslogtreecommitdiff
path: root/sysutils/amtterm/patches/patch-GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/amtterm/patches/patch-GNUmakefile')
-rw-r--r--sysutils/amtterm/patches/patch-GNUmakefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/sysutils/amtterm/patches/patch-GNUmakefile b/sysutils/amtterm/patches/patch-GNUmakefile
new file mode 100644
index 00000000000..dc9afc55886
--- /dev/null
+++ b/sysutils/amtterm/patches/patch-GNUmakefile
@@ -0,0 +1,17 @@
+$NetBSD: patch-GNUmakefile,v 1.1.1.1 2011/05/13 13:24:01 obache Exp $
+
+* not to install gamt related files if it is off.
+
+--- GNUmakefile.orig 2008-10-30 09:59:57.000000000 +0000
++++ GNUmakefile
+@@ -43,8 +43,10 @@ install: build
+ $(INSTALL_DIR) $(bindir) $(appdir) $(mandir)/man1 $(mandir)/man7
+ $(INSTALL_BINARY) $(TARGETS) $(bindir)
+ $(INSTALL_SCRIPT) amttool $(bindir)
++ifeq ($(HAVE_GTK)$(HAVE_VTE),yesyes)
+ $(INSTALL_DATA) $(DESKTOP) $(appdir)
+ $(INSTALL_DATA) gamt.man $(mandir)/man1/gamt.1
++endif
+ $(INSTALL_DATA) amtterm.man $(mandir)/man1/amtterm.1
+ $(INSTALL_DATA) amttool.man $(mandir)/man1/amttool.1
+ $(INSTALL_DATA) amt-howto.man $(mandir)/man7/amt-howto.7