Date: Mon, 18 Jun 2012 16:29:45 -0700 From: Jason Helfman <jgh@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: admin@lissyara.su Subject: ports/169217: [PATCH] net/ttbudget: fix usage of ${SRC_BASE} before it is defined Message-ID: <1340062185.537242.76359.nullmailer@experts-exchange.com> Resent-Message-ID: <201206182340.q5INeGEQ026387@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 169217 >Category: ports >Synopsis: [PATCH] net/ttbudget: fix usage of ${SRC_BASE} before it is defined >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jun 18 23:40:15 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Jason Helfman >Release: FreeBSD 8.3-RELEASE amd64 >Organization: >Environment: System: FreeBSD dormouse.experts-exchange.com 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr 9 21:23:18 UTC >Description: Original PR filed as ports/165994 SRC_BASE is being used before being defined in several ports. it happened to work anyways in most cases because the main use of SRC_BASE is for checking if ${SRC_BASE}/sys/ (/usr/src/sys/) exists, and if SRC_BASE is empty, it just checks for /sys/ which does exist on most systems as a symlink to /usr/src/sys/. pet portlint on pkg-message and placement of USE_BZIP2 Port maintainer (admin@lissyara.su) is cc'd. Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: CVS) >How-To-Repeat: >Fix: --- ttbudget-5.3_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/net/ttbudget/Makefile,v retrieving revision 1.8 diff -u -r1.8 Makefile --- Makefile 1 Apr 2010 05:27:58 -0000 1.8 +++ Makefile 18 Jun 2012 23:30:31 -0000 @@ -17,6 +17,9 @@ COMMENT= Driver for 'TechnoTrend budget DVB S-1401' (SkyStar3) USE_BZIP2= yes + +.include <bsd.port.pre.mk> + SYSDIR?= ${SRC_BASE}/sys KMODDIR= /boot/modules PLIST_SUB+= KMODDIR=${KMODDIR} @@ -32,8 +35,6 @@ post-install: @${CAT} ${PKGMESSAGE} -.include <bsd.port.pre.mk> - .if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" BROKEN= Does not compile on ia64, powerprc, or sparc64 .elif ${OSVERSION} >= 900000 Index: pkg-message =================================================================== RCS file: /home/pcvs/ports/net/ttbudget/pkg-message,v retrieving revision 1.1 diff -u -r1.1 pkg-message --- pkg-message 22 Jul 2008 18:10:19 -0000 1.1 +++ pkg-message 18 Jun 2012 23:30:31 -0000 @@ -11,5 +11,3 @@ to your /boot/loader.conf. ********************************************************************* - - --- ttbudget-5.3_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1340062185.537242.76359.nullmailer>