Date: Mon, 18 Jun 2012 16:34:51 -0700 From: Jason Helfman <jgh@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gelraen.ua@gmail.com Subject: ports/169219: [PATCH] sysutils/acpi_call: fix usage of ${SRC_BASE} before it is defined Message-ID: <1340062491.049389.51400.nullmailer@experts-exchange.com> Resent-Message-ID: <201206182340.q5INeM5o026477@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 169219 >Category: ports >Synopsis: [PATCH] sysutils/acpi_call: 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:21 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/. Port maintainer (gelraen.ua@gmail.com) is cc'd. Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: CVS) >How-To-Repeat: >Fix: --- acpi_call-1.0.1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/sysutils/acpi_call/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 28 Dec 2011 06:59:36 -0000 1.5 +++ Makefile 18 Jun 2012 23:35:45 -0000 @@ -16,6 +16,8 @@ LICENSE= BSD +.include <bsd.port.pre.mk> + KMODDIR?= /boot/modules PLIST_SUB+= KMODDIR=${KMODDIR} \ PORTNAME=${PORTNAME} @@ -34,4 +36,4 @@ @${INSTALL_KLD} ${WRKSRC}/${PORTNAME}.ko ${KMODDIR} @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin -.include <bsd.port.mk> +.include <bsd.port.post.mk> --- acpi_call-1.0.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?1340062491.049389.51400.nullmailer>