mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
Remove support for OSVERSION < 5
This commit is contained in:
parent
d7c299a535
commit
bf149172eb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200755
@ -14,6 +14,8 @@ MASTER_SITES= ftp://ftp.openlinksw.co.uk/open41/ \
|
||||
DISTNAME= f6kuzzzz
|
||||
EXTRACT_SUFX= .taz
|
||||
|
||||
LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x
|
||||
|
||||
MAINTAINER= eugen@grosbein.pp.ru
|
||||
COMMENT= Openlink UDBC SDK
|
||||
|
||||
@ -51,14 +53,4 @@ post-install:
|
||||
@${SED} "s'PREFIX'${PREFIX}'" <pkg-message
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500000
|
||||
LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 400000
|
||||
IGNORE= "Systems prior to 4.x are not supported"
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -70,35 +70,19 @@ CONFIGURE_ARGS+=--with-named-thread-libs='-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R
|
||||
CONFIGURE_ARGS+=-D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads
|
||||
CFLAGS+= -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE
|
||||
CFLAGS+= -I${LOCALBASE}/include/pthread/linuxthreads
|
||||
.if ${OSVERSION} > 500000
|
||||
LIB_DEPENDS+= lthread.[35]:${PORTSDIR}/devel/linuxthreads
|
||||
CONFIGURE_ARGS+=-L${LOCALBASE}/lib -llthread -llgcc_r -llstdc++ -llsupc++'
|
||||
.else
|
||||
LIB_DEPENDS+= lthread.[24]:${PORTSDIR}/devel/linuxthreads
|
||||
CONFIGURE_ARGS+=-L${LOCALBASE}/lib -llthread -llgcc_r'
|
||||
.endif
|
||||
.else
|
||||
CONFIGURE_ARGS+=--with-named-thread-libs=${PTHREAD_LIBS}
|
||||
CFLAGS+= ${PTHREAD_CFLAGS}
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
CXX= ${CC}
|
||||
.endif
|
||||
.if defined(BUILD_OPTIMIZED)
|
||||
CFLAGS+= -O3 -fno-omit-frame-pointer
|
||||
.if ${OSVERSION} > 500000 || (defined(USE_GCC) && (${USE_GCC} == 3.0 || ${USE_GCC} == 3.1 || ${USE_GCC} == 3.2 || ${USE_GCC} == 3.3))
|
||||
CFLAGS+= -fno-gcse
|
||||
.endif
|
||||
.endif
|
||||
CXXFLAGS+= ${CFLAGS} -felide-constructors -fno-rtti
|
||||
.if ${OSVERSION} >= 400002
|
||||
CXXFLAGS+= -fno-exceptions
|
||||
.endif
|
||||
|
||||
# MySQL-Server part
|
||||
.if !defined(CLIENT_ONLY) && !defined(SCRIPTS_ONLY)
|
||||
|
@ -76,7 +76,7 @@ pre-everything::
|
||||
WITHOUT_OPTIMIZED_ASM= yes
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} >= 400014 && !defined(WITHOUT_IPV6)
|
||||
.if !defined(WITHOUT_IPV6)
|
||||
CONFIGURE_ARGS+= --enable-ipv6
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user