Add symbolic link to shared library in location that tclsh scripts (such as unbuffer) expect to find it. Bump PKGREVISION.diff -r1.28 -r1.29 pkgsrc/lang/tcl-expect/Makefile
(markd)
@@ -1,19 +1,19 @@ | @@ -1,19 +1,19 @@ | |||
1 | # $NetBSD: Makefile,v 1.28 2013/03/26 11:41:01 jperkin Exp $ | 1 | # $NetBSD: Makefile,v 1.29 2013/06/10 21:49:21 markd Exp $ | |
2 | 2 | |||
3 | .include "Makefile.common" | 3 | .include "Makefile.common" | |
4 | 4 | |||
5 | PKGNAME= tcl-expect-${EXPECT_VERSION} | 5 | PKGNAME= tcl-expect-${EXPECT_VERSION} | |
6 | PKGREVISION= 1 | 6 | PKGREVISION= 2 | |
7 | CATEGORIES= lang | 7 | CATEGORIES= lang | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | COMMENT= Extensions to Tcl to support scripting of interactive programs | 10 | COMMENT= Extensions to Tcl to support scripting of interactive programs | |
11 | LICENSE= public-domain | 11 | LICENSE= public-domain | |
12 | 12 | |||
13 | CONFIGURE_ARGS+= --enable-shared | 13 | CONFIGURE_ARGS+= --enable-shared | |
14 | CONFIGURE_ARGS+= --without-x | 14 | CONFIGURE_ARGS+= --without-x | |
15 | 15 | |||
16 | INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR:Q} | 16 | INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR:Q} | |
17 | 17 | |||
18 | .include "../../lang/tcl/buildlink3.mk" | 18 | .include "../../lang/tcl/buildlink3.mk" | |
19 | .include "../../mk/bsd.pkg.mk" | 19 | .include "../../mk/bsd.pkg.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.13 2012/08/21 21:33:58 marino Exp $ | 1 | @comment $NetBSD: PLIST,v 1.14 2013/06/10 21:49:21 markd Exp $ | |
2 | bin/autoexpect | 2 | bin/autoexpect | |
3 | bin/autopasswd | 3 | bin/autopasswd | |
4 | bin/cryptdir | 4 | bin/cryptdir | |
5 | bin/decryptdir | 5 | bin/decryptdir | |
6 | bin/dislocate | 6 | bin/dislocate | |
7 | bin/expect | 7 | bin/expect | |
8 | bin/ftp-rfc | 8 | bin/ftp-rfc | |
9 | bin/kibitz | 9 | bin/kibitz | |
10 | bin/lpunlock | 10 | bin/lpunlock | |
11 | bin/mkpasswd | 11 | bin/mkpasswd | |
12 | bin/multixterm | 12 | bin/multixterm | |
13 | bin/passmass | 13 | bin/passmass | |
14 | bin/rftp | 14 | bin/rftp | |
@@ -18,26 +18,27 @@ bin/timed-run | @@ -18,26 +18,27 @@ bin/timed-run | |||
18 | bin/tknewsbiff | 18 | bin/tknewsbiff | |
19 | bin/tkpasswd | 19 | bin/tkpasswd | |
20 | bin/unbuffer | 20 | bin/unbuffer | |
21 | bin/weather | 21 | bin/weather | |
22 | bin/xkibitz | 22 | bin/xkibitz | |
23 | bin/xpstat | 23 | bin/xpstat | |
24 | include/expect.h | 24 | include/expect.h | |
25 | include/expect_comm.h | 25 | include/expect_comm.h | |
26 | include/expect_tcl.h | 26 | include/expect_tcl.h | |
27 | include/tcldbg.h | 27 | include/tcldbg.h | |
28 | lib/libexpect${SONUM}.a | 28 | lib/libexpect${SONUM}.a | |
29 | lib/libexpect${SONUM}.so | 29 | lib/libexpect${SONUM}.so | |
30 | lib/libexpect${SONUM}.so.1.0 | 30 | lib/libexpect${SONUM}.so.1.0 | |
31 | lib/tcl/expect${BASEVER}/libexpect${SONUM}.so | |||
31 | lib/tcl/expect${BASEVER}/pkgIndex.tcl | 32 | lib/tcl/expect${BASEVER}/pkgIndex.tcl | |
32 | man/man1/autoexpect.1 | 33 | man/man1/autoexpect.1 | |
33 | man/man1/cryptdir.1 | 34 | man/man1/cryptdir.1 | |
34 | man/man1/decryptdir.1 | 35 | man/man1/decryptdir.1 | |
35 | man/man1/dislocate.1 | 36 | man/man1/dislocate.1 | |
36 | man/man1/expect.1 | 37 | man/man1/expect.1 | |
37 | man/man1/kibitz.1 | 38 | man/man1/kibitz.1 | |
38 | man/man1/mkpasswd.1 | 39 | man/man1/mkpasswd.1 | |
39 | man/man1/multixterm.1 | 40 | man/man1/multixterm.1 | |
40 | man/man1/passmass.1 | 41 | man/man1/passmass.1 | |
41 | man/man1/tknewsbiff.1 | 42 | man/man1/tknewsbiff.1 | |
42 | man/man1/unbuffer.1 | 43 | man/man1/unbuffer.1 | |
43 | man/man1/xkibitz.1 | 44 | man/man1/xkibitz.1 |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.17 2013/03/26 11:41:01 jperkin Exp $ | 1 | $NetBSD: distinfo,v 1.18 2013/06/10 21:49:21 markd Exp $ | |
2 | 2 | |||
3 | SHA1 (expect5.45.tar.gz) = e634992cab35b7c6931e1f21fbb8f74d464bd496 | 3 | SHA1 (expect5.45.tar.gz) = e634992cab35b7c6931e1f21fbb8f74d464bd496 | |
4 | RMD160 (expect5.45.tar.gz) = edffe881ee45abe6e9aa150ea5958a04d0ffeab0 | 4 | RMD160 (expect5.45.tar.gz) = edffe881ee45abe6e9aa150ea5958a04d0ffeab0 | |
5 | Size (expect5.45.tar.gz) = 628808 bytes | 5 | Size (expect5.45.tar.gz) = 628808 bytes | |
6 | SHA1 (patch-Makefile.in) = eb44dad343e841fe825dd18ed7027f575bdd2e33 | 6 | SHA1 (patch-Makefile.in) = 6f38c1d356ab206c0d00a8b465434994bc787bcf | |
7 | SHA1 (patch-configure) = a16c833e61d23f63abff1413522b99cd2251bc34 | 7 | SHA1 (patch-configure) = a16c833e61d23f63abff1413522b99cd2251bc34 |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | $NetBSD: patch-Makefile.in,v 1.2 2013/03/26 11:41:01 jperkin Exp $ | 1 | $NetBSD: patch-Makefile.in,v 1.3 2013/06/10 21:49:21 markd Exp $ | |
2 | 2 | |||
3 | New Makefile.in patch, no libtool | 3 | New Makefile.in patch, no libtool | |
4 | 4 | |||
5 | --- Makefile.in.orig 2010-09-30 17:14:07.000000000 +0000 | 5 | --- Makefile.in.orig 2010-09-30 17:14:07.000000000 +0000 | |
6 | +++ Makefile.in | 6 | +++ Makefile.in | |
7 | @@ -99,7 +99,9 @@ PKG_HEADERS = @PKG_HEADERS@ | 7 | @@ -99,7 +99,9 @@ PKG_HEADERS = @PKG_HEADERS@ | |
8 | # configuration options) composed of the named objects. | 8 | # configuration options) composed of the named objects. | |
9 | #======================================================================== | 9 | #======================================================================== | |
10 | 10 | |||
11 | +SHLIB_VERSION = .@SHLIB_VERSION@ | 11 | +SHLIB_VERSION = .@SHLIB_VERSION@ | |
12 | PKG_LIB_FILE = @PKG_LIB_FILE@ | 12 | PKG_LIB_FILE = @PKG_LIB_FILE@ | |
13 | +PKG_LIB_A_FILE = ${PKG_LIB_FILE:.so=.a} | 13 | +PKG_LIB_A_FILE = ${PKG_LIB_FILE:.so=.a} | |
14 | PKG_STUB_LIB_FILE = @PKG_STUB_LIB_FILE@ | 14 | PKG_STUB_LIB_FILE = @PKG_STUB_LIB_FILE@ | |
@@ -44,25 +44,26 @@ New Makefile.in patch, no libtool | @@ -44,25 +44,26 @@ New Makefile.in patch, no libtool | |||
44 | doc: | 44 | doc: | |
45 | 45 | |||
46 | install: all install-binaries install-libraries install-doc | 46 | install: all install-binaries install-libraries install-doc | |
47 | @@ -547,6 +554,9 @@ install-lib-binaries: | 47 | @@ -547,6 +554,9 @@ install-lib-binaries: | |
48 | fi; \ | 48 | fi; \ | |
49 | fi; \ | 49 | fi; \ | |
50 | done | 50 | done | |
51 | + mv $(DESTDIR)$(pkglibdir)/$(PKG_LIB_FILE) $(DESTDIR)$(pkglibdir)/$(PKG_LIB_FILE)$(SHLIB_VERSION) | 51 | + mv $(DESTDIR)$(pkglibdir)/$(PKG_LIB_FILE) $(DESTDIR)$(pkglibdir)/$(PKG_LIB_FILE)$(SHLIB_VERSION) | |
52 | + cd $(DESTDIR)$(pkglibdir) && ln -fs $(PKG_LIB_FILE)$(SHLIB_VERSION) $(PKG_LIB_FILE) | 52 | + cd $(DESTDIR)$(pkglibdir) && ln -fs $(PKG_LIB_FILE)$(SHLIB_VERSION) $(PKG_LIB_FILE) | |
53 | + $(INSTALL_DATA) $(PKG_LIB_A_FILE) $(DESTDIR)$(pkglibdir)/$(PKG_LIB_A_FILE) | 53 | + $(INSTALL_DATA) $(PKG_LIB_A_FILE) $(DESTDIR)$(pkglibdir)/$(PKG_LIB_A_FILE) | |
54 | @list='$(PKG_TCL_SOURCES)'; for p in $$list; do \ | 54 | @list='$(PKG_TCL_SOURCES)'; for p in $$list; do \ | |
55 | if test -f $(srcdir)/$$p; then \ | 55 | if test -f $(srcdir)/$$p; then \ | |
56 | destp=`basename $$p`; \ | 56 | destp=`basename $$p`; \ | |
57 | @@ -554,9 +564,10 @@ install-lib-binaries: | 57 | @@ -554,9 +564,11 @@ install-lib-binaries: | |
58 | $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkglibdir)/$$destp; \ | 58 | $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkglibdir)/$$destp; \ | |
59 | fi; \ | 59 | fi; \ | |
60 | done | 60 | done | |
61 | + mkdir -p $(DESTDIR)$(pkglibdir)/tcl/expect$(PACKAGE_VERSION) | 61 | + mkdir -p $(DESTDIR)$(pkglibdir)/tcl/expect$(PACKAGE_VERSION) | |
62 | + ln -fs ../../$(PKG_LIB_FILE) $(DESTDIR)$(pkglibdir)/tcl/expect$(PACKAGE_VERSION)/ | |||
62 | @if test "x$(SHARED_BUILD)" = "x1"; then \ | 63 | @if test "x$(SHARED_BUILD)" = "x1"; then \ | |
63 | echo " Install pkgIndex.tcl $(DESTDIR)$(pkglibdir)"; \ | 64 | echo " Install pkgIndex.tcl $(DESTDIR)$(pkglibdir)"; \ | |
64 | - $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir); \ | 65 | - $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir); \ | |
65 | + $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir)/tcl/expect$(PACKAGE_VERSION); \ | 66 | + $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir)/tcl/expect$(PACKAGE_VERSION); \ | |
66 | fi | 67 | fi | |
67 | 68 | |||
68 | #======================================================================== | 69 | #======================================================================== |