From e7bd462c9ab9989e92a714fb832ae590cc1262f4 Mon Sep 17 00:00:00 2001 From: ahoka Date: Sat, 19 Sep 2009 07:46:12 +0000 Subject: Force pkgsrc's unzip so we can actually list archive content on NetBSD 5.99.16 with unzip in base. --- archivers/file-roller/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'archivers/file-roller/Makefile') diff --git a/archivers/file-roller/Makefile b/archivers/file-roller/Makefile index 6e5dd0c0e76..805318638aa 100644 --- a/archivers/file-roller/Makefile +++ b/archivers/file-roller/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.96 2009/08/26 19:57:07 sno Exp $ +# $NetBSD: Makefile,v 1.97 2009/09/19 07:46:12 ahoka Exp $ # DISTNAME= file-roller-2.26.3 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= archivers gnome MASTER_SITES= ${MASTER_SITE_GNOME:=sources/file-roller/2.26/} EXTRACT_SUFX= .tar.bz2 @@ -30,6 +30,15 @@ BUILDLINK_API_DEPENDS.gnome-vfs+= gnome-vfs>=2.10.0 BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.10.0 BUILDLINK_API_DEPENDS.libglade+= libglade>=2.4.0 +# Force to use unzip from pkgsrc as other installed versions in path +# may be incompatible. (For example NetBSD 6.0's unzip) +# +SUBST_CLASSES+= unzip +SUBST_STAGE.unzip= pre-build +SUBST_MESSAGE.unzip= Hardcoding unzip path +SUBST_FILES.unzip= src/fr-command-zip.c +SUBST_SED.unzip= -e 's|@@UNZIP_COMMAND@@|${LOCALBASE}/bin/unzip|' + # XXX force regen, bundled one doesn't fit # see gnome bugzilla #587869 post-extract: -- cgit v1.2.3