summaryrefslogtreecommitdiff
path: root/x11/x3270
diff options
context:
space:
mode:
authorgls <gls@pkgsrc.org>2013-11-24 05:52:10 +0000
committergls <gls@pkgsrc.org>2013-11-24 05:52:10 +0000
commit00697270bfdf333733c073f65ebf6d59986541f5 (patch)
tree47c921a20ee18e366321a711de46f5dad4c5f656 /x11/x3270
parent8b80967034a1ee8b7ffc8a4717f4a29c0c8342b4 (diff)
downloadpkgsrc-00697270bfdf333733c073f65ebf6d59986541f5.tar.gz
Re-add the patch I remove by mistake
Diffstat (limited to 'x11/x3270')
-rw-r--r--x11/x3270/distinfo3
-rw-r--r--x11/x3270/patches/patch-aa17
2 files changed, 19 insertions, 1 deletions
diff --git a/x11/x3270/distinfo b/x11/x3270/distinfo
index 514b978d9e6..32493d56c7e 100644
--- a/x11/x3270/distinfo
+++ b/x11/x3270/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.13 2013/11/24 05:39:25 gls Exp $
+$NetBSD: distinfo,v 1.14 2013/11/24 05:52:10 gls Exp $
SHA1 (suite3270-3.3.13ga7-src.tgz) = 06058041794d70057eaf980d24ca2086748c4ecf
RMD160 (suite3270-3.3.13ga7-src.tgz) = 988d062943ec8d75ec16e0940aded7b3b262887c
Size (suite3270-3.3.13ga7-src.tgz) = 6824013 bytes
+SHA1 (patch-aa) = 826eb5ab930d4d4b1dc340c15a4160c303291f16
diff --git a/x11/x3270/patches/patch-aa b/x11/x3270/patches/patch-aa
new file mode 100644
index 00000000000..8cd35330272
--- /dev/null
+++ b/x11/x3270/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.10 2013/11/24 05:52:10 gls Exp $
+
+Fix $HOSTSFILE installation path
+
+--- Imakefile.in.orig 2010-09-13 20:55:27.000000000 +0000
++++ Imakefile.in
+@@ -190,8 +190,8 @@ $(DESTDIR)$(FONTINSTDIR)/fonts.dir::
+ /* Extra install rule for the sample ibm_hosts file (runs only if there is
+ no ibm_hosts file installed yet). */
+ install:: $(HOSTSFILE)
+- @[ -r $(DESTDIR)$(LIBX3270DIR)/$(HOSTSFILE) ] || \
+- $(INSTALL) -c $(INSTDATFLAGS) $(HOSTSFILE) $(DESTDIR)$(LIBX3270DIR)/$(HOSTSFILE)
++ @[ -r $(DESTDIR)$(PREFIX)/share/examples/x3270/$(HOSTSFILE) ] || \
++ $(INSTALL) -c $(INSTDATFLAGS) $(HOSTSFILE) $(DESTDIR)$(PREFIX)/share/examples/x3270/$(HOSTSFILE)
+
+ /*
+ * Install rules for x3270if, x3270-script and ibm_hosts man pages.