diff options
author | reed <reed> | 2006-01-24 20:22:35 +0000 |
---|---|---|
committer | reed <reed> | 2006-01-24 20:22:35 +0000 |
commit | 9e31758871e6c9674d03e9c484c8c69ae815b491 (patch) | |
tree | af31fb3d64215c98aef982e1132f3930071325b1 /net | |
parent | 8720155195e2ef34c83f16224d0736a995790d2d (diff) | |
download | pkgsrc-9e31758871e6c9674d03e9c484c8c69ae815b491.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')
-rw-r--r-- | net/dtcp/Makefile | 4 | ||||
-rw-r--r-- | net/dtcp/distinfo | 3 | ||||
-rw-r--r-- | net/dtcp/patches/patch-aa | 14 |
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 + |