pkgsrc-Changes archive

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

CVS commit: pkgsrc/cross/objconv



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu Jun 28 09:02:14 UTC 2018

Modified Files:
        pkgsrc/cross/objconv: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/cross/objconv/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/cross/objconv/Makefile
diff -u pkgsrc/cross/objconv/Makefile:1.3 pkgsrc/cross/objconv/Makefile:1.4
--- pkgsrc/cross/objconv/Makefile:1.3   Fri Mar  3 04:54:10 2017
+++ pkgsrc/cross/objconv/Makefile       Thu Jun 28 09:02:14 2018
@@ -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 @@ HOMEPAGE=     http://www.agner.org/optimize/
 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