summaryrefslogtreecommitdiff
path: root/net/tcl-scotty
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2017-08-19 00:26:26 +0000
committerjlam <jlam@pkgsrc.org>2017-08-19 00:26:26 +0000
commit085f4c3e5d8a018edf9936f8bce9384aef722f0f (patch)
tree9027f30934739bdca7b5358d9c12baa949c22abf /net/tcl-scotty
parent7db7d716ef23d904a0fa0ccd3112e96186d1a4d4 (diff)
downloadpkgsrc-085f4c3e5d8a018edf9936f8bce9384aef722f0f.tar.gz
net/tcl-scotty: Install manpages into ${PKGMANDIR}.
Modify unix/Makefile.in so that the GNU configure script can replace @mandir@ with the correct location for the installed manpages under ${PKGMANDIR}.
Diffstat (limited to 'net/tcl-scotty')
-rw-r--r--net/tcl-scotty/distinfo4
-rw-r--r--net/tcl-scotty/patches/patch-unix-Makefile.in13
2 files changed, 12 insertions, 5 deletions
diff --git a/net/tcl-scotty/distinfo b/net/tcl-scotty/distinfo
index 60d710ee95c..7e9c55474ce 100644
--- a/net/tcl-scotty/distinfo
+++ b/net/tcl-scotty/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.20 2017/02/01 09:35:05 he Exp $
+$NetBSD: distinfo,v 1.21 2017/08/19 00:26:26 jlam Exp $
SHA1 (scotty-2.1.11.tar.gz) = 819011f908c57e4591d6f50e51677c01eb55dc13
RMD160 (scotty-2.1.11.tar.gz) = 3b4d45f3db73f05b49a46017bf2ffed6d6464b00
@@ -41,7 +41,7 @@ SHA1 (patch-tnm_snmp_tnmSnmpRecv.c) = f55abae9975a7832e38e2754fe6e38e025eb6276
SHA1 (patch-tnm_snmp_tnmSnmpSend.c) = 46c2b0f7c3d5f6392df96cba55b831ef763deeb7
SHA1 (patch-tnm_snmp_tnmSnmpTcl.c) = 565d982a4e24e8033c4a16895ff503a3159a1a33
SHA1 (patch-tnm_snmp_tnmSnmpUtil.c) = 9441f16f0be0f15689e9e628c3e96fc0c10bc942
-SHA1 (patch-unix-Makefile.in) = f5aad7fb5537855e36fe2ea444e410a7f04334d8
+SHA1 (patch-unix-Makefile.in) = 9a00bc8affad69035d7bc78955d30e4f2f8fc991
SHA1 (patch-unix_configure) = 6d2b4b522ba802d07c0bc8346330070ae7e0edea
SHA1 (patch-unix_scotty.c) = fdb6a9bb414566ddb5317a3ebc60d2c305f611a7
SHA1 (patch-unix_tnmUnixIcmp.c) = 86be48d8da9d77098662e7d2515193515a028e96
diff --git a/net/tcl-scotty/patches/patch-unix-Makefile.in b/net/tcl-scotty/patches/patch-unix-Makefile.in
index 727025d9be5..41ed1e68faf 100644
--- a/net/tcl-scotty/patches/patch-unix-Makefile.in
+++ b/net/tcl-scotty/patches/patch-unix-Makefile.in
@@ -1,4 +1,4 @@
-$NetBSD: patch-unix-Makefile.in,v 1.3 2015/07/12 04:59:55 dholland Exp $
+$NetBSD: patch-unix-Makefile.in,v 1.4 2017/08/19 00:26:26 jlam Exp $
Put installed files under lib/tcl, so that tcl more easily picks it
up using e.g. "package require Tnm".
@@ -8,11 +8,14 @@ Don't initialize $(LD_SEARCH_FLAGS), fixes PR#30241.
Support DESTDIR installs, but not yet for the "uninstall" target,
since that's not used in pkgsrc.
+Allow configure script to substitute for @mandir@ to set the
+location of the installed manpages.
+
Use SPECIAL_PERMS instead of installing setuid directly.
--- unix/Makefile.in.orig 2001-06-15 10:06:35.000000000 +0000
+++ unix/Makefile.in
-@@ -35,13 +35,13 @@ LIB_INSTALL_DIR = $(exec_prefix)/l
+@@ -35,16 +35,16 @@ LIB_INSTALL_DIR = $(exec_prefix)/l
LIB_RUNTIME_DIR = $(exec_prefix)/lib
# Directory in which to install library files belonging to the extension.
@@ -27,7 +30,11 @@ Use SPECIAL_PERMS instead of installing setuid directly.
+TKI_INSTALL_DIR = $(prefix)/lib/tcl/tkined$(TKI_VERSION)
# Top-level directory for manual entries:
- MAN_INSTALL_DIR = $(prefix)/man
+-MAN_INSTALL_DIR = $(prefix)/man
++MAN_INSTALL_DIR = @mandir@
+
+ # Directory in which to install the manual entries:
+ MAN1_INSTALL_DIR = $(MAN_INSTALL_DIR)/man1
@@ -57,7 +57,7 @@ MANN_INSTALL_DIR = $(MAN_INSTALL_DIR)/ma
# To change the compiler switches, for example to change from -O