ports/155620: [bsd.port.mk] [patch] hard code OPSYS value

Eitan Adler lists at eitanadler.com
Thu Mar 17 01:50:14 UTC 2011


>Number:         155620
>Category:       ports
>Synopsis:       [bsd.port.mk] [patch] hard code OPSYS value
>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:   Thu Mar 17 01:50:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Eitan Adler
>Release:        
>Organization:
>Environment:
>Description:

>How-To-Repeat:

>Fix:
Index: bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.674
diff -u -r1.674 bsd.port.mk
--- bsd.port.mk	7 Mar 2011 07:32:05 -0000	1.674
+++ bsd.port.mk	17 Mar 2011 01:19:14 -0000
@@ -41,9 +41,7 @@
 #				  returned by "uname -p".  (Note: Ports should test against
 #				  ARCH, and not the host machine's architecture which is
 #				  MACHINE_ARCH, to enable ports to be cross-built.)
-# OPSYS			- Portability clause.  This is the operating system the
-#				  makefile is being used on.  Automatically set to
-#				  "FreeBSD," "NetBSD," or "OpenBSD" as appropriate.
+# OPSYS			- Always "FreeBSD" for compatibility reasons. 
 # OSREL			- The release version (numeric) of the operating system.
 # OSVERSION		- The value of __FreeBSD_version.
 #
@@ -1208,7 +1206,7 @@
 
 # Get the operating system type
 .if !defined(OPSYS)
-OPSYS!=	${UNAME} -s
+OPSYS=	FreeBSD
 .endif

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list