pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/gsharutils Instead of depending on mktemp fo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e04d21421849
branches:  trunk
changeset: 498568:e04d21421849
user:      reed <reed%pkgsrc.org@localhost>
date:      Fri Aug 26 06:09:42 2005 +0000

description:
Instead of depending on mktemp for non-BSD, use USE_TOOLS for run-time
dependency of mktemp. (This makes it so it doesn't depend on mktemp
on DragonFly, for example.)

Also while I am here, use sh:run instead of sh for the other USE_TOOLS.
This is because script installed uses SH.

Bump PKGREVISION.

diffstat:

 archivers/gsharutils/Makefile |  10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diffs (33 lines):

diff -r a7a43be4c0bb -r e04d21421849 archivers/gsharutils/Makefile
--- a/archivers/gsharutils/Makefile     Fri Aug 26 06:07:35 2005 +0000
+++ b/archivers/gsharutils/Makefile     Fri Aug 26 06:09:42 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.29 2005/06/24 19:12:55 kristerw Exp $
+# $NetBSD: Makefile,v 1.30 2005/08/26 06:09:42 reed Exp $
 
 DISTNAME=      sharutils-4.2.1
 PKGNAME=       g${DISTNAME}
-PKGREVISION=   7
+PKGREVISION=   8
 CATEGORIES=    archivers
 MASTER_SITES=  ${MASTER_SITE_GNU:=sharutils/}
 
@@ -20,17 +20,13 @@
 INSTALL_TARGET=                install install-man
 USE_MAKEINFO=          YES
 INFO_FILES=            remsync.info sharutils.info
-USE_TOOLS+=            sh
+USE_TOOLS+=            sh:run mktemp:run
 
 CONFIGURE_ARGS+=       --disable-uucode
 CONFIGURE_ENV+=                SH="${TOOLS_SH}"
 
 .include "../../mk/bsd.prefs.mk"
 
-.if empty(OPSYS:M*BSD)
-DEPENDS+=              mktemp>=1.5:../../sysutils/mktemp
-.endif
-
 # gettext 0.11+ has renamed internal symbols, and gsharutils is
 # being a very bad neighbor by using them directly.  To fix, force
 # use of gettext >= 0.11, and rename the symbol in gsharutils.  -tv



Home | Main Index | Thread Index | Old Index