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/71a97f5315ca
branches: trunk
changeset: 382329:71a97f5315ca
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 16c251fccf2b -r 71a97f5315ca 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