ports/155510: [bsd.port.mk] [patch] remove support for pre 7.x systems (b.*.m)
Eitan Adler
lists at eitanadler.com
Sun Mar 13 05:00:21 UTC 2011
>Number: 155510
>Category: ports
>Synopsis: [bsd.port.mk] [patch] remove support for pre 7.x systems (b.*.m)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Mar 13 05:00:20 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Eitan Adler
>Release:
>Organization:
>Environment:
>Description:
Attached is a patch that attempts to remove support for pre 7.x systems. I attempted to test this - but obviously a complete exp-run is required.
>How-To-Repeat:
>Fix:
Index: bsd.gcc.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.gcc.mk,v
retrieving revision 1.50
diff -u -r1.50 bsd.gcc.mk
--- bsd.gcc.mk 1 Feb 2011 01:41:19 -0000 1.50
+++ bsd.gcc.mk 13 Mar 2011 04:32:07 -0000
@@ -42,7 +42,7 @@
# The first field if the OSVERSION in which it appeared in the base.
# The second field is the OSVERSION in which it disappeared from the base.
# The third field is the version as USE_GCC would use.
-GCCVERSION_030402= 502126 700042 3.4
+#GCCVERSION_030402= 502126 700042 3.4
GCCVERSION_040200= 700042 999999 4.2
GCCVERSION_040400= 999999 999999 4.4
GCCVERSION_040500= 999999 999999 4.5
@@ -87,17 +87,9 @@
# In some case we want to use g77 from lang/gcc34 (FreeBSD>=7) or f77
# (FreeBSD<=6).
. elif ${USE_FORTRAN} == g77
-. if (${OSVERSION} > 700042)
_USE_GCC:= 3.4
FC:= g77-34
F77:= g77-34
-. else
-F77:= f77
-FC:= f77
-CC:= gcc
-CXX:= g++
-. endif
-
. else
IGNORE= specifies unknown value "${USE_FORTRAN}" for USE_FORTRAN
. endif
Index: bsd.qt.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.qt.mk,v
retrieving revision 1.20
diff -u -r1.20 bsd.qt.mk
--- bsd.qt.mk 2 Dec 2010 19:47:01 -0000 1.20
+++ bsd.qt.mk 13 Mar 2011 04:32:07 -0000
@@ -136,11 +136,7 @@
QMAKESPEC?= ${QT_PREFIX}/share/qt4/mkspecs/freebsd-${QMAKE_BASE_COMPILER}
.endif
-.if ${OSVERSION} < 700042 && ${ARCH} == "amd64"
-QTCPPFLAGS?= -fno-gcse
-.else
QTCPPFLAGS?=
-.endif
QTCGFLIBS?=
.endif # !defined(_POSTMKINCLUDED) && !defined(Qt_Pre_Include)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list