ports/169219: [PATCH] sysutils/acpi_call: fix usage of ${SRC_BASE} before it is defined
Jason Helfman
jgh at FreeBSD.org
Mon Jun 18 23:40:22 UTC 2012
>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 at 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:
More information about the freebsd-ports-bugs
mailing list