Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jun 2012 16:38:17 -0700
From:      Jason Helfman <jgh@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        mirror176@cox.net
Subject:   ports/169221: [PATCH] sysutils/fusefs-kmod: fix usage of ${SRC_BASE} before it is defined
Message-ID:  <1340062697.300286.97715.nullmailer@experts-exchange.com>
Resent-Message-ID: <201206182340.q5INeNNG026519@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169221
>Category:       ports
>Synopsis:       [PATCH] sysutils/fusefs-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:40:23 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 for placement of OPTIONS

Port maintainer (mirror176@cox.net) is cc'd.

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

--- fusefs-kmod-0.3.9.p1.20080208_10.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/sysutils/fusefs-kmod/Makefile,v
retrieving revision 1.37
diff -u -r1.37 Makefile
--- Makefile	11 May 2012 07:08:06 -0000	1.37
+++ Makefile	18 Jun 2012 23:38:55 -0000
@@ -32,6 +32,10 @@
 WRKSRC=		${WRKDIR}/fuse4bsd-${HG_SHORTREV}
 DISABLE_SIZE=	yes
 
+OPTIONS=	AUTOSETUP "Automatic global config file setup" off
+
+.include <bsd.port.pre.mk>
+
 SRC_BASE?=	/usr/src
 SETUP=		setup.sh
 HG_SHORTREV=	498acaef33b0
@@ -54,10 +58,6 @@
 		serif.css \
 		tabbar-right.css
 
-OPTIONS=	AUTOSETUP "Automatic global config file setup" off
-
-.include <bsd.port.pre.mk>
-
 .if ${OSVERSION} >= 900040
 EXTRA_PATCHES+=	${FILESDIR}/extra-patch-fuse_module__fuse_vnops.c
 .endif
--- fusefs-kmod-0.3.9.p1.20080208_10.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?1340062697.300286.97715.nullmailer>