summaryrefslogtreecommitdiff
path: root/net/dtcp
diff options
context:
space:
mode:
authorreed <reed>2006-01-24 20:22:35 +0000
committerreed <reed>2006-01-24 20:22:35 +0000
commit7db98a5486f2769d88254f998ccab592e8ddc0c0 (patch)
treeaf31fb3d64215c98aef982e1132f3930071325b1 /net/dtcp
parent4cb7613d6f353d9013ef1416da18d331fa1a5f87 (diff)
downloadpkgsrc-7db98a5486f2769d88254f998ccab592e8ddc0c0.tar.gz
Add patch so MANDIR is not hard-coded.
And set it in the make environment. This fixes installation of man page as seen on DragonFly bulk build. Revision not bumped since no change for systems where this worked before.
Diffstat (limited to 'net/dtcp')
-rw-r--r--net/dtcp/Makefile4
-rw-r--r--net/dtcp/distinfo3
-rw-r--r--net/dtcp/patches/patch-aa14
3 files changed, 19 insertions, 2 deletions
diff --git a/net/dtcp/Makefile b/net/dtcp/Makefile
index 5fdce164c01..d5cbd1df540 100644
--- a/net/dtcp/Makefile
+++ b/net/dtcp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2005/12/29 06:21:58 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2006/01/24 20:22:35 reed Exp $
#
DISTNAME= dtcp-20050521
@@ -15,5 +15,7 @@ DEPENDS+= qpopper-[0-9]*:../../mail/qpopper
RCD_SCRIPTS= dtcpc dtcps
+MAKE_ENV+= MANDIR=${PREFIX:Q}/${PKGMANDIR:Q}
+
.include "../../lang/ruby/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/dtcp/distinfo b/net/dtcp/distinfo
index 4a6b135bf5e..ecc20268c73 100644
--- a/net/dtcp/distinfo
+++ b/net/dtcp/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2005/10/16 15:12:45 taca Exp $
+$NetBSD: distinfo,v 1.7 2006/01/24 20:22:35 reed Exp $
SHA1 (dtcp-20050521.tar.gz) = a27d0690ad6ccaf93618deca23587dc2f3ca4670
RMD160 (dtcp-20050521.tar.gz) = 355eda9699f23784875a6110ffd9b55231f8db34
Size (dtcp-20050521.tar.gz) = 18944 bytes
+SHA1 (patch-aa) = 2ebd14608489c4c1516d30f272d635567e772f48
diff --git a/net/dtcp/patches/patch-aa b/net/dtcp/patches/patch-aa
new file mode 100644
index 00000000000..7ba4bf79a8a
--- /dev/null
+++ b/net/dtcp/patches/patch-aa
@@ -0,0 +1,14 @@
+--- Makefile.orig 2006-01-24 11:51:58.000000000 -0800
++++ Makefile 2006-01-24 11:52:30.000000000 -0800
+@@ -14,9 +14,9 @@
+ BINDIR= $(PREFIX)/sbin
+
+ .if (${OPSYS} == "NetBSD")
+-MANDIR= $(PREFIX)/man
++MANDIR?= $(PREFIX)/man
+ .else
+-MANDIR= $(PREFIX)/man/man
++MANDIR?= $(PREFIX)/man/man
+ .endif
+ MAN= dtcps.8 dtcpc.8 dtcpauth.8
+