Quantcast

ports/169222: [PATCH] sysutils/mono-kmod: fix usage of ${SRC_BASE} before it is defined

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

ports/169222: [PATCH] sysutils/mono-kmod: fix usage of ${SRC_BASE} before it is defined

Jason Helfman-6

>Number:         169222
>Category:       ports
>Synopsis:       [PATCH] sysutils/mono-kmod: 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:50: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 ([hidden email]) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: CVS)
>How-To-Repeat:
>Fix:

--- mono-kmod-20070416.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/sysutils/mono-kmod/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile 6 Jan 2009 17:59:28 -0000 1.6
+++ Makefile 18 Jun 2012 23:42:24 -0000
@@ -20,6 +20,8 @@
 SUB_FILES= pkg-message
 PKGMESSAGE= ${WRKDIR}/pkg-message
 
+.include <bsd.port.pre.mk>
+
 SRC_BASE?= /usr/src
 
 PLIST_SUB= KMODDIR=${KMODDIR}
@@ -29,8 +31,6 @@
 PLIST_FILES+= mono.ko
 PLIST_FILES+= "@unexec kldxref ${KMODDIR}"
 
-.include <bsd.port.pre.mk>
-
 .if !exists(${SRC_BASE}/sys/Makefile)
 IGNORE= requires kernel source to be installed
 .endif
--- mono-kmod-20070416.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ports/169222: [PATCH] sysutils/mono-kmod: fix usage of ${SRC_BASE} before it is defined

Edwin Groothuis-2
Synopsis: [PATCH] sysutils/mono-kmod: fix usage of ${SRC_BASE} before it is defined

Responsible-Changed-From-To: freebsd-ports-bugs->jgh
Responsible-Changed-By: edwin
Responsible-Changed-When: Mon Jun 18 23:50:33 UTC 2012
Responsible-Changed-Why:
Submitter has GNATS access (via the GNATS Auto Assign Tool)

http://www.freebsd.org/cgi/query-pr.cgi?pr=169222
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Loading...