pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/libdvdcss Convert PKG_FAIL_REASON to INTERA...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6d7c22ce3a55
branches:  trunk
changeset: 382108:6d7c22ce3a55
user:      jakllsch <jakllsch%pkgsrc.org@localhost>
date:      Fri Jun 22 12:45:46 2018 +0000

description:
Convert PKG_FAIL_REASON to INTERACTIVE_STAGE=fetch and FETCH_MESSAGE.

This is to prevent make fetch-list from trying to fetch a bogus URL when
the package-specific MASTER_SITE variable is undefined.

diffstat:

 multimedia/libdvdcss/Makefile |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r b1dfd701c56b -r 6d7c22ce3a55 multimedia/libdvdcss/Makefile
--- a/multimedia/libdvdcss/Makefile     Fri Jun 22 11:51:28 2018 +0000
+++ b/multimedia/libdvdcss/Makefile     Fri Jun 22 12:45:46 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2018/03/23 17:55:02 adam Exp $
+# $NetBSD: Makefile,v 1.36 2018/06/22 12:45:46 jakllsch Exp $
 #
 # In order to ensure compliance with U.S. and international law, please
 # do not modify this file to provide pointers to the source or homepage
@@ -31,9 +31,10 @@
 .include "../../mk/bsd.prefs.mk"
 
 .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(LIBDVDCSS_MASTER_SITES)
-PKG_FAIL_REASON+=      "Please define LIBDVDCSS_MASTER_SITES in mk.conf."
-PKG_FAIL_REASON+=      "Alternatively you may download '${DISTNAME}${EXTRACT_SUFX}' manually"
-PKG_FAIL_REASON+=      "to ${DISTDIR}."
+INTERACTIVE_STAGE=     fetch
+FETCH_MESSAGE+=        "Please define LIBDVDCSS_MASTER_SITES in mk.conf."
+FETCH_MESSAGE+=        "Alternatively you may download '${DISTNAME}${EXTRACT_SUFX}' manually"
+FETCH_MESSAGE+=        "to ${DISTDIR}."
 .endif
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index