pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/cross/objconv objconv: Fix distfile fetching.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7af6f2236b78
branches:  trunk
changeset: 309931:7af6f2236b78
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Jun 28 09:02:14 2018 +0000

description:
objconv: Fix distfile fetching.

The distfile is unversioned and replaced every time a new version is
released, so keep a DIST_SUBDIR'd copy on MASTER_SITE_LOCAL.

diffstat:

 cross/objconv/Makefile |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 4bbd8d6ce365 -r 7af6f2236b78 cross/objconv/Makefile
--- a/cross/objconv/Makefile    Thu Jun 28 02:31:03 2018 +0000
+++ b/cross/objconv/Makefile    Thu Jun 28 09:02:14 2018 +0000
@@ -1,9 +1,15 @@
-# $NetBSD: Makefile,v 1.3 2017/03/03 04:54:10 sevan Exp $
+# $NetBSD: Makefile,v 1.4 2018/06/28 09:02:14 jperkin Exp $
+#
+# The upstream distfile is unversioned and replaced every time a new version
+# is released, so we must put a copy of it up in LOCAL_PORTS with DIST_SUBDIR
+# set and download from there.
+#
 
 DISTNAME=      objconv
 PKGNAME=       ${DISTNAME}-2.39
 CATEGORIES=    cross
-MASTER_SITES=  http://www.agner.org/optimize/
+MASTER_SITES=  ${MASTER_SITE_LOCAL:=${PKGNAME_NOREV}/}
+DIST_SUBDIR=   ${PKGNAME_NOREV}
 EXTRACT_SUFX=  .zip
 
 MAINTAINER=    ryoon%NetBSD.org@localhost
@@ -11,8 +17,6 @@
 COMMENT=       Object file converter and disassembler
 LICENSE=       gnu-gpl-v3
 
-DIST_SUBDIR=   ${PKGNAME_NOREV}
-
 USE_TOOLS+=    unzip:build
 
 WRKSRC=                ${WRKDIR}



Home | Main Index | Thread Index | Old Index