diff options
author | mrg <mrg@pkgsrc.org> | 2004-04-05 09:31:30 +0000 |
---|---|---|
committer | mrg <mrg@pkgsrc.org> | 2004-04-05 09:31:30 +0000 |
commit | 2eeaf4e0330019950695868faf61abf1a0982db7 (patch) | |
tree | 72635e220fa1699f74313f9514102ed3f05fb4a1 /misc | |
parent | 2534963e521b0761aa8ef595142ea4f0aed53127 (diff) | |
download | pkgsrc-2eeaf4e0330019950695868faf61abf1a0982db7.tar.gz |
let "ark" use /usr/bin/tar on NetBSD 1.6 and beyond, as it's sufficient
to replace gtar here. no more gtar-base on my system. :-)
thanks to seb@ for the pkgsrc Makefile magic help.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/kdeutils3/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/misc/kdeutils3/Makefile b/misc/kdeutils3/Makefile index db0110906ec..3c30d3135c9 100644 --- a/misc/kdeutils3/Makefile +++ b/misc/kdeutils3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2004/03/26 02:27:46 wiz Exp $ +# $NetBSD: Makefile,v 1.36 2004/04/05 09:31:30 mrg Exp $ DISTNAME= kdeutils-${_KDE_VERSION} PKGREVISION= 1 @@ -8,7 +8,7 @@ DEPENDS+= xdg-dirs>=1.1:../../misc/xdg-dirs .include "../../meta-pkgs/kde3/Makefile.kde3" -DEPENDS+= gtar-base>=1.13.25:../../archivers/gtar-base +.include "../../mk/bsd.prefs.mk" USE_BUILDLINK2= YES USE_PKGINSTALL= YES @@ -17,9 +17,15 @@ USE_PKGINSTALL= YES LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS} MAKE_ENV+= EXPORT_SYMBOLS_LDFLAGS="${EXPORT_SYMBOLS_LDFLAGS}" +.if !empty(MACHINE_PLATFORM:MNetBSD-1.6*) || !empty(MACHINE_PLATFORM:MNetBSD-[2-9]*) +CPPFLAGS+= -DARK_TAR=\"\\\"/usr/bin/tar\\\"\" +.else +DEPENDS+= gtar-base>=1.13.25:../../archivers/gtar-base + EVAL_PREFIX+= PREFIX.gtar=gtar PREFIX.gtar_DEFAULT= ${LOCALBASE} CPPFLAGS+= -DARK_TAR=\"\\\"${PREFIX.gtar}/bin/${GNU_PROGRAM_PREFIX}tar\\\"\" +.endif .include "../../mk/bsd.prefs.mk" |