diff options
author | grant <grant@pkgsrc.org> | 2003-09-05 04:38:44 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-09-05 04:38:44 +0000 |
commit | 5d0b8ba7b7f41e8bad5fc83cd2d12fe8246b412b (patch) | |
tree | efd3e3c4544334b5cb3cf9762fe0eb128e411e45 /pkgtools/mtree/Makefile | |
parent | 2bb1f26c0da14b7d944de040186a9c2270b98bbf (diff) | |
download | pkgsrc-5d0b8ba7b7f41e8bad5fc83cd2d12fe8246b412b.tar.gz |
update mtree to 20030905:
* sync with -current
* fixes for libnbcompat new world order
* autoconf and Makefile cleanup
Diffstat (limited to 'pkgtools/mtree/Makefile')
-rw-r--r-- | pkgtools/mtree/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgtools/mtree/Makefile b/pkgtools/mtree/Makefile index e42088f316b..1410e01485b 100644 --- a/pkgtools/mtree/Makefile +++ b/pkgtools/mtree/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.7 2003/09/05 03:58:21 reed Exp $ +# $NetBSD: Makefile,v 1.8 2003/09/05 04:38:44 grant Exp $ # -DISTNAME= mtree-20030731 +DISTNAME= mtree-20030905 CATEGORIES= pkgtools MASTER_SITES= # empty DISTFILES= # empty @@ -25,3 +25,10 @@ do-extract: .include "../../pkgtools/libnbcompat/buildlink2.mk" .include "../../mk/bsd.pkg.mk" + +PREFIX:= ${PKG_TOOLS_BIN:C|/[^/]?bin$||} +.if ${PREFIX} == "/usr" +CONFIGURE_ARGS+= --mandir=${PREFIX}/share/man +.else +CONFIGURE_ARGS+= --mandir=${PREFIX}/man +.endif |