mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Remove conditional checks for FreeBSD 5.x and older
Approved by: pav
This commit is contained in:
parent
f216d10840
commit
5e3b0872db
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225296
@ -86,12 +86,6 @@ MAKE_ENV+= WITH_HAL=1
|
||||
LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 600000
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|blksize_t buf_size =|__int32_t buf_size =|g' \
|
||||
${WRKSRC}/src/filesystem/e2_fs.c
|
||||
.endif
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
|
@ -33,10 +33,6 @@ OPTIONS= NLS "Native Language Support (devel/gettext)" on
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 600000
|
||||
IGNORE= FreeBSD < 6 does not have blkcnt_t in stat.h
|
||||
.endif
|
||||
|
||||
#.if !defined(WITHOUT_HAL)
|
||||
#LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal \
|
||||
# dbus-1.3:${PORTSDIR}/devel/dbus
|
||||
|
@ -44,12 +44,6 @@ post-extract:
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/^SUBDIRS/ s|docs||' ${WRKSRC}/Makefile.in
|
||||
.if ( ${OSVERSION} > 600000 && ${OSVERSION} < 600006 ) || \
|
||||
( ${OSVERSION} < 503101 )
|
||||
.for po in da.po it.po zh_CN.po
|
||||
@${REINPLACE_CMD} -e 's|%-|%|g' ${WRKSRC}/po/${po}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
||||
|
@ -32,10 +32,4 @@ USE_LDCONFIG= yes
|
||||
|
||||
MAN1= mathmlviewer.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 600000
|
||||
IGNORE= is unsupported on versions prior to FreeBSD 6.0
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -41,9 +41,5 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
CFLAGS+= -fPIC
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 503000
|
||||
IGNORE= does not build and is useless without working Mono
|
||||
.endif
|
||||
|
||||
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -26,10 +26,6 @@ WX_COMPS= contrib
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500035
|
||||
BROKEN= "Cannot link: undefined versioned symbol name"
|
||||
.endif
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
||||
DOCS= README README.linux ChangeLog
|
||||
|
||||
|
@ -29,12 +29,6 @@ LDFLAGS= -L${LOCALBASE}/lib -lgnuregex ${PTHREAD_LIBS}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} > 502010
|
||||
GNU_REGEX_H= gnu/regex.h
|
||||
.else
|
||||
GNU_REGEX_H= gnuregex.h
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|CXXFLAGS="-s"|CXXFLAGS="$$CXXFLAGS"|g' ${WRKSRC}/configure
|
||||
@ -42,7 +36,7 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-lpthread|${LDFLAGS}|g' ${WRKSRC}/${file}
|
||||
.endfor
|
||||
.for file in vdk/FileDialog.h vdk/gtksourcebuffer.h vdk/gtksourcetag.h
|
||||
@${REINPLACE_CMD} -e 's|<regex\.h>|<${GNU_REGEX_H}>|g' ${WRKSRC}/${file}
|
||||
@${REINPLACE_CMD} -e 's|<regex\.h>|<gnu/regex.h>|g' ${WRKSRC}/${file}
|
||||
.endfor
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|VDKComboEntry::||g' ${WRKSRC}/vdk/vdkcomboentry.h
|
||||
|
@ -24,14 +24,8 @@ ONLY_FOR_ARCHS= i386
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION}>=600000
|
||||
EXEFILE= xscoop6
|
||||
.else
|
||||
EXEFILE= xscoop5
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${EXEFILE} ${PREFIX}/bin/xscoop
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/xscoop6 ${PREFIX}/bin/xscoop
|
||||
${INSTALL_MAN} ${WRKSRC}/xscoop.7 ${MAN7PREFIX}/man/man7/xscoop.7
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/xscoop.pdf ${DOCSDIR}/xscoop.pdf
|
||||
|
@ -23,13 +23,6 @@ MAN1= ctwm.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# Very old versions need GNU m4
|
||||
.if ( ${OSVERSION} < 500034 )
|
||||
EXTRA_PATCHES+= ${FILESDIR}/gm4-patch
|
||||
BUILD_DEPENDS+= gm4:${PORTSDIR}/devel/m4
|
||||
RUN_DEPENDS+= gm4:${PORTSDIR}/devel/m4
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
${CP} ${WRKSRC}/Imakefile.local-template ${WRKSRC}/Imakefile.local
|
||||
${CAT} ${FILESDIR}/Imakefile.local-additional >> ${WRKSRC}/Imakefile.local
|
||||
|
@ -32,10 +32,6 @@ CONFIGURE_ARGS= --disable-auto-respawn
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 600000
|
||||
BROKEN= Does not compile on 5.x
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|2.61|2.62|g' ${WRKSRC}/aclocal.m4
|
||||
@${REINPLACE_CMD} -e 's|<machine/soundcard\.h>|<sys/soundcard.h>|g' \
|
||||
|
Loading…
Reference in New Issue
Block a user