summaryrefslogtreecommitdiff
path: root/www/ap-dtcl
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-08-19 06:58:07 +0000
committermarino <marino@pkgsrc.org>2012-08-19 06:58:07 +0000
commit04d1e0d0a0ef9ce9f138faacc52d5745d349f6a5 (patch)
tree545c5f15de63618fdd0daf81a67685f7a4a1048f /www/ap-dtcl
parent2033bca797fc8c85758de077c7864997e2a87d74 (diff)
downloadpkgsrc-04d1e0d0a0ef9ce9f138faacc52d5745d349f6a5.tar.gz
www/ap-dtcl: Build library with -rpath
Solves (new) PKG_DEVELOPER check error message: ERROR: lib/httpd/mod_dtcl.so: missing library: libtcl8x.so
Diffstat (limited to 'www/ap-dtcl')
-rw-r--r--www/ap-dtcl/Makefile3
-rw-r--r--www/ap-dtcl/distinfo3
-rw-r--r--www/ap-dtcl/patches/patch-Makefile15
3 files changed, 19 insertions, 2 deletions
diff --git a/www/ap-dtcl/Makefile b/www/ap-dtcl/Makefile
index 6cf8fa88f19..9a3fb93a1e0 100644
--- a/www/ap-dtcl/Makefile
+++ b/www/ap-dtcl/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.29 2009/08/20 15:25:01 jwise Exp $
+# $NetBSD: Makefile,v 1.30 2012/08/19 06:58:07 marino Exp $
DISTNAME= mod_dtcl-0.11.6
PKGNAME= ap13-dtcl-0.11.2
+PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://tcl.apache.org/mod_dtcl/download/
diff --git a/www/ap-dtcl/distinfo b/www/ap-dtcl/distinfo
index 6554dc5ddcf..a429a35c10f 100644
--- a/www/ap-dtcl/distinfo
+++ b/www/ap-dtcl/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.10 2007/11/30 20:43:08 rillig Exp $
+$NetBSD: distinfo,v 1.11 2012/08/19 06:58:07 marino Exp $
SHA1 (mod_dtcl-0.11.6.tar.gz) = 8a48b2292bb1048b17fd268011d1a4307ef5770e
RMD160 (mod_dtcl-0.11.6.tar.gz) = 9fe42c888d476029852dad2742accb7b7d654e67
Size (mod_dtcl-0.11.6.tar.gz) = 90374 bytes
+SHA1 (patch-Makefile) = 6de218f5380c0235e873ebdfc687c82c9c8e0e11
SHA1 (patch-aa) = 512e310549e475fbd6106eef52d2f789f4a0390b
SHA1 (patch-ab) = 6eed9b2e971501ddcd1500cab5e16fa6a7037658
diff --git a/www/ap-dtcl/patches/patch-Makefile b/www/ap-dtcl/patches/patch-Makefile
new file mode 100644
index 00000000000..10effc71418
--- /dev/null
+++ b/www/ap-dtcl/patches/patch-Makefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2012/08/19 06:58:08 marino Exp $
+
+Fixes error: ERROR: lib/httpd/mod_dtcl.so: missing library: libtcl85.so
+
+--- Makefile.orig 2001-09-05 12:01:22.000000000 +0000
++++ Makefile
+@@ -26,7 +26,7 @@ static: $(OBJECTS) docs/documentation.ht
+ $(TCL_STLIB_LD) $(STATICLIB) $(OBJECTS)
+
+ shared: $(OBJECTS) docs/documentation.html
+- $(TCL_SHLIB_LD) -o $(SHLIB) $(OBJECTS) $(TCL_LIB_SPEC) $(TCL_LIBS)
++ $(TCL_SHLIB_LD) -o $(SHLIB) $(OBJECTS) $(COMPILER_RPATH_FLAG)$(PREFIX)/lib $(TCL_LIB_SPEC) $(TCL_LIBS)
+
+ # I don't have too many C files, so it's just clearer to do things by
+ # hand