ports/111524: [patch] devel/uppaal

Edwin Groothuis edwin at mavetju.org
Fri Apr 13 03:50:02 UTC 2007


>Number:         111524
>Category:       ports
>Synopsis:       [patch] devel/uppaal
>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:   Fri Apr 13 03:50:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386


>Description:

The port is too noisy when doing things with it when linux.ko isn't
loaded:

sysctl: unknown oid 'compat.linux.osrelease'
"Makefile", line 34: warning: "/sbin/sysctl -n compat.linux.osrelease" returned non-zero status

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/uppaal/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	11 Apr 2007 20:11:50 -0000	1.5
+++ Makefile	13 Apr 2007 03:40:23 -0000
@@ -31,7 +31,7 @@
 
 .include <bsd.port.pre.mk>
 
-LINUX_OSRELEASE!=	${SYSCTL} -n compat.linux.osrelease
+LINUX_OSRELEASE!=	${SYSCTL} -n compat.linux.osrelease 2>/dev/null || ${TRUE}
 
 .if ${LINUX_OSRELEASE} == "2.4.2" || ${OSVERSION} < 700000
 IGNORE=requires compat.linux.osrelease of at least 2.6.16 (needs 7.0 or later)
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list