diff options
author | markd <markd@pkgsrc.org> | 2009-01-31 05:40:42 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2009-01-31 05:40:42 +0000 |
commit | 681931550f33792df6ff9cebb524f56366552df7 (patch) | |
tree | 8cf030d1d041fecbcf65d1ace88f58d3e3b53014 /misc/kdeutils3 | |
parent | dad64b7a481e9878c18d201092f8e6a74cf037c1 (diff) | |
download | pkgsrc-681931550f33792df6ff9cebb524f56366552df7.tar.gz |
ark really needs gnu tar because:
assumes "tar rvf ..." works when archive doesn't already exist.
assumes "tar tvf ..." doesn't produce an error on a zero length file.
assumes "tar --delete" works.
so depend on gtar always and fix setting of TarExe so that it uses it.
Bump PKGREVISION.
Diffstat (limited to 'misc/kdeutils3')
-rw-r--r-- | misc/kdeutils3/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/misc/kdeutils3/Makefile b/misc/kdeutils3/Makefile index 1602a352355..6fe7ca77311 100644 --- a/misc/kdeutils3/Makefile +++ b/misc/kdeutils3/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.66 2008/07/14 12:56:08 joerg Exp $ +# $NetBSD: Makefile,v 1.67 2009/01/31 05:40:42 markd Exp $ DISTNAME= kdeutils-${_KDE_VERSION} +PKGREVISION= 1 COMMENT= Utilities for the KDE integrated X11 desktop PKG_DESTDIR_SUPPORT= user-destdir @@ -13,15 +14,16 @@ PKG_DESTDIR_SUPPORT= user-destdir LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS} MAKE_ENV+= EXPORT_SYMBOLS_LDFLAGS=${EXPORT_SYMBOLS_LDFLAGS:Q} -.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 + +SUBST_CLASSES+= tarexe +SUBST_STAGE.tarexe= pre-configure +SUBST_MESSAGE.tarexe= Use GNU tar in ark +SUBST_FILES.tarexe= ark/ark.kcfg +SUBST_SED.tarexe= -e 's:<default>tar</default>:<default>${PREFIX.gtar}/bin/${GNU_PROGRAM_PREFIX}tar</default>:' .include "../../mk/bsd.prefs.mk" |