pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/epm Fix build failure when PKGSRC_PREFER=gzip or ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3107d5ab4dbd
branches:  trunk
changeset: 598256:3107d5ab4dbd
user:      cheusov <cheusov%pkgsrc.org@localhost>
date:      Sat Jan 21 14:04:33 2012 +0000

description:
Fix build failure when PKGSRC_PREFER=gzip or no native gzip

diffstat:

 misc/epm/Makefile |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (33 lines):

diff -r 9a3fb415cab8 -r 3107d5ab4dbd misc/epm/Makefile
--- a/misc/epm/Makefile Sat Jan 21 13:39:50 2012 +0000
+++ b/misc/epm/Makefile Sat Jan 21 14:04:33 2012 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2011/10/09 10:02:46 cheusov Exp $
+# $NetBSD: Makefile,v 1.3 2012/01/21 14:04:33 cheusov Exp $
 #
 
-VERSION=       4.2
-DISTNAME=      epm-${VERSION}-source
-PKGNAME=       epm-${VERSION}
+DISTNAME=      epm-4.2-source
+PKGNAME=       ${DISTNAME:S/-source//}
 CATEGORIES=    misc
 MASTER_SITES=  http://ftp.easysw.com/pub/epm/${VERSION}/ \
                http://ftp2.easysw.com/pub/epm/${VERSION}/ \
@@ -17,7 +16,7 @@
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
-USE_TOOLS+=            autoconf #gzip:run tar:run
+USE_TOOLS+=            autoconf gzip:run tar:run
 
 #TEST_TARGET=          test
 
@@ -30,6 +29,7 @@
 CONFIGURE_ARGS+=       --disable-gui
 CONFIGURE_ARGS+=       --with-docdir=${DOCDIR}
 CONFIGURE_ENV+=                STRIP=${TOOLS_PATH.strip}
+CONFIGURE_ENV+=                GZIP=${TOOLS_PLATFORM.gzip:Q}
 
 pre-configure:
        set -e; cd ${WRKSRC}; autoconf;



Home | Main Index | Thread Index | Old Index