summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorcheusov <cheusov@pkgsrc.org>2012-01-21 14:04:33 +0000
committercheusov <cheusov@pkgsrc.org>2012-01-21 14:04:33 +0000
commitc486bd5acd45ecab94349a8a51313b7ac64d47d3 (patch)
treec51d231c99562f8a64dcb0a185dec3c2b4e7a2be /misc
parent7ab34aa860e212d7e227266d9bb3cb9cacc5b3d5 (diff)
downloadpkgsrc-c486bd5acd45ecab94349a8a51313b7ac64d47d3.tar.gz
Fix build failure when PKGSRC_PREFER=gzip or no native gzip
Diffstat (limited to 'misc')
-rw-r--r--misc/epm/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/misc/epm/Makefile b/misc/epm/Makefile
index 1c6f1f77294..3df8ad2f078 100644
--- a/misc/epm/Makefile
+++ b/misc/epm/Makefile
@@ -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 @@ LICENSE= gnu-gpl-v2
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 @@ DOCDIR= ${PREFIX}/share/doc/epm
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;