diff options
author | jmmv <jmmv@pkgsrc.org> | 2004-02-10 11:52:05 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2004-02-10 11:52:05 +0000 |
commit | 4c6ecdf3b32c8f682222c8f2a89c7b61a6896743 (patch) | |
tree | f729b84ac920d36f1c0aaf585f0256e00a18e3a7 /archivers/file-roller/Makefile | |
parent | eabe046d56164589ca8407591c6011af8ac7c2b3 (diff) | |
download | pkgsrc-4c6ecdf3b32c8f682222c8f2a89c7b61a6896743.tar.gz |
Force use of GNU tar, as the messages shown by "pax as tar" are not recognized
properly by the program. Fixes multiple crashes and handling of tar archives.
Closes PR pkg/24206.
Also depend on zip and unzip and ensure paths to them are correct.
Bump PKGREVISION to 2.
Diffstat (limited to 'archivers/file-roller/Makefile')
-rw-r--r-- | archivers/file-roller/Makefile | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/archivers/file-roller/Makefile b/archivers/file-roller/Makefile index bc8dfa391cc..e9946d12d8a 100644 --- a/archivers/file-roller/Makefile +++ b/archivers/file-roller/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.19 2004/02/09 18:47:36 jmmv Exp $ +# $NetBSD: Makefile,v 1.20 2004/02/10 11:52:05 jmmv Exp $ # DISTNAME= file-roller-2.4.4 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= archivers gnome MASTER_SITES= ${MASTER_SITE_GNOME:=sources/file-roller/2.4/} @@ -12,6 +12,9 @@ COMMENT= Front-end to archiving programs like tar and zip BUILD_USES_MSGFMT= yes DEPENDS+= gnome2-dirs>=1.2:../../misc/gnome2-dirs +DEPENDS+= gtar-base>=1.13.25:../../archivers/gtar-base +DEPENDS+= unzip>=5.50nb2:../../archivers/unzip +DEPENDS+= zip>=2.3nb2:../../archivers/zip GNU_CONFIGURE= yes USE_BUILDLINK2= yes @@ -21,6 +24,18 @@ USE_PKGLOCALEDIR= yes GCONF2_SCHEMAS= file-roller.schemas +EVAL_PREFIX+= PREFIX.gtar=gtar +PREFIX.gtar_DEFAULT= ${LOCALBASE} +CPPFLAGS+= -DFILEROLLER_TAR=\"\\\"${PREFIX.gtar}/bin/${GNU_PROGRAM_PREFIX}tar\\\"\" + +EVAL_PREFIX+= PREFIX.unzip=unzip +PREFIX.unzip_DEFAULT= ${LOCALBASE} +CPPFLAGS+= -DFILEROLLER_UNZIP=\"\\\"${PREFIX.unzip}/bin/unzip\\\"\" + +EVAL_PREFIX+= PREFIX.zip=zip +PREFIX.zip_DEFAULT= ${LOCALBASE} +CPPFLAGS+= -DFILEROLLER_ZIP=\"\\\"${PREFIX.zip}/bin/zip\\\"\" + .include "../../devel/GConf2/schemas.mk" .include "../../devel/libbonobo/buildlink2.mk" .include "../../devel/libgnomeui/buildlink2.mk" |