Commit bbab7f59 authored by Muhammad Moinur Rahman's avatar Muhammad Moinur Rahman
Browse files

*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree

- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
  ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
  Also move conditional flags for non sparc64/arm ARCH to fixed flags.

Reviewed by:	brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
parent a1bc4fbd
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -81,12 +81,6 @@ IGNORE= CABAL_PROJECT: invalid value: ${CABAL_PROJECT}
BROKEN=		${USE_CABAL:Mbasement-0.0.1[4-5]} package doesn't compile on i386
.  endif

.  if ${OSVERSION} < 1302000 && defined(USE_CABAL) && ${USE_CABAL:Mtext-2.*}
# Band-aids for a Clang bug that is shipped with FreeBSD < 13.2
BUILD_DEPENDS+=	clang15:devel/llvm15
BUILD_ARGS+=	--ghc-options='-pgmc clang++15'
.  endif

PKGNAMEPREFIX?=	hs-

CABAL_EXECUTABLES?=	${PORTNAME}
+1 −2
Original line number Diff line number Diff line
@@ -261,7 +261,7 @@ _EXTRA_PATCHES_QT5= ${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_fe
			${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_features_qt__module.prf \
			${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_common_bsd_bsd.conf \
			${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_freebsd-clang_qmake.conf
.    if ${ARCH:Mmips*} || (${ARCH:Mpowerpc*} && !exists(/usr/bin/clang)) || ${ARCH} == sparc64
.    if ${ARCH:Mmips*} || (${ARCH:Mpowerpc*} && !exists(/usr/bin/clang))
_EXTRA_PATCHES_QT5+=	${PORTSDIR}/devel/${_QT_RELNAME}/files/extra-patch-mkspecs_common_g++-base.conf \
			${PORTSDIR}/devel/${_QT_RELNAME}/files/extra-patch-mkspecs_common_gcc-base.conf \
			${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_freebsd-g++_qmake.conf
@@ -548,4 +548,3 @@ qt-create-kde-distfile:
		${_KDE_${_QT_DIST}_BRANCH}

.endif # defined(_QT_DIST_MK_INCLUDED)
+2 −2
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# OSREL			- The release version of the operating system as a text
#				  string (e.g., "12.4").
# OSVERSION		- The operating system version as a comparable integer;
#				  the value of __FreeBSD_version (e.g., 1204000).
#				  the value of __FreeBSD_version (e.g., 1302000).
#
# This is the beginning of the list of all variables that need to be
# defined in a port, listed in order that they should be included
@@ -1184,7 +1184,7 @@ OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < ${SRC
.    endif
_EXPORTED_VARS+=	OSVERSION

.    if ${OPSYS} == FreeBSD && (${OSVERSION} < 1204000 || (${OSVERSION} >= 1300000 && ${OSVERSION} < 1302000))
.    if ${OPSYS} == FreeBSD && (${OSVERSION} < 1302000 )
_UNSUPPORTED_SYSTEM_MESSAGE=	Ports Collection support for your ${OPSYS} version has ended, and no ports\
								are guaranteed to build on this system. Please upgrade to a supported release.
.      if defined(ALLOW_UNSUPPORTED_SYSTEM)
+0 −2
Original line number Diff line number Diff line
@@ -11,8 +11,6 @@ WWW= https://constexpr.org/innoextract/
LICENSE=	ZLIB
LICENSE_FILE=	${WRKSRC}/LICENSE

BROKEN_sparc64=	does not build: undefined reference to std::ctype<char>::_M_widen_init()

BUILD_DEPENDS=	boost-libs>0:devel/boost-libs

USES=		cmake compiler:c++11-lang iconv
+0 −8
Original line number Diff line number Diff line
@@ -63,12 +63,4 @@ CONFIGURE_ENV+= ac_cv_header_localcharset_h=no \
		ac_cv_lib_charset_locale_charset=no
.endif

# Prior to 1301508 we didn't ship openssl.pc which libarchive now expects
# so we need to use the old approach on older versions of FreeBSD
# which is not to define Requires.private in libarchive.pc

.if ${PORT_OPTIONS:MOPENSSL} && ${OPSYS} == FreeBSD && ${OSVERSION} < 1301508
EXTRA_PATCHES=	${PATCHDIR}/extra-patch-pkgconfig-compat
.endif

.include <bsd.port.post.mk>
Loading