summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 00:50:28 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 00:50:28 +0000
commit3e2fd4b788942461b3fbd53d7edac9a1abc3488e (patch)
tree50f793f00a7cb711970c62063687af6cd8625387 /ftp
parentRemove always-false/true conditions based on OSVERSION 500000 (diff)
Remove always-false/true conditions based on OSVERSION 500000
Notes
Notes: svn path=/head/; revision=200771
Diffstat (limited to 'ftp')
-rw-r--r--ftp/bbftp/Makefile8
-rw-r--r--ftp/bsdftpd-ssl/Makefile4
-rw-r--r--ftp/curlpp/Makefile8
-rw-r--r--ftp/kftpgrabber/Makefile8
-rw-r--r--ftp/pftpx/Makefile4
-rw-r--r--ftp/yafc/Makefile2
6 files changed, 4 insertions, 30 deletions
diff --git a/ftp/bbftp/Makefile b/ftp/bbftp/Makefile
index 76f6aba52b81..7650d9ecb1dd 100644
--- a/ftp/bbftp/Makefile
+++ b/ftp/bbftp/Makefile
@@ -23,12 +23,6 @@ USE_RC_SUBR= bbftpd
MAN1= bbftp.1 bbftpd.1
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= does not compile
-.endif
-
do-configure:
${CP} -f ${TEMPLATES}/config.guess ${WRKSRC}
${CP} -f ${TEMPLATES}/config.sub ${WRKSRC}
@@ -45,4 +39,4 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/doc/bbftp.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/bbftpd.1 ${PREFIX}/man/man1
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/ftp/bsdftpd-ssl/Makefile b/ftp/bsdftpd-ssl/Makefile
index ec798f9167c5..b0b9fa0f5c76 100644
--- a/ftp/bsdftpd-ssl/Makefile
+++ b/ftp/bsdftpd-ssl/Makefile
@@ -59,10 +59,6 @@ MANDIR= ${PREFIX}/man/man
DOCDIR= ${DOCSDIR}${PKGNAMESUFFIX}
pre-build:
-.if ${OSVERSION} < 500000
-# Compatibility with FreeBSD 4.x
- (cd ${WRKSRC} && ./config.sh _conv_gcc29x) || exit
-.endif
(cd ${WRKSRC} && ./config.sh FreeBSD) || exit
do-build:
diff --git a/ftp/curlpp/Makefile b/ftp/curlpp/Makefile
index 9135974902ce..aa24bdcc5db9 100644
--- a/ftp/curlpp/Makefile
+++ b/ftp/curlpp/Makefile
@@ -24,12 +24,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CONFIGURE_ARGS= --disable-ewarning
USE_LDCONFIG= yes
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
-BROKEN= Does not compile on alpha 4.x
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' ${WRKSRC}/Makefile.in
@@ -42,4 +36,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/guide.pdf ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/ftp/kftpgrabber/Makefile b/ftp/kftpgrabber/Makefile
index 52eff75de767..01b1058e010d 100644
--- a/ftp/kftpgrabber/Makefile
+++ b/ftp/kftpgrabber/Makefile
@@ -22,10 +22,4 @@ USE_AUTOTOOLS= libtool:15
post-patch:
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= Does not compile on 4.x
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/ftp/pftpx/Makefile b/ftp/pftpx/Makefile
index b112f1aa349b..cb935dd9f75e 100644
--- a/ftp/pftpx/Makefile
+++ b/ftp/pftpx/Makefile
@@ -23,10 +23,6 @@ USE_RC_SUBR= pftpx
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000
-IGNORE= only for 5.0 and above
-.endif
-
.if ${OSVERSION} < 502116
MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=34
.if defined(WITH_ALTQ) && (${WITH_ALTQ} == "yes")
diff --git a/ftp/yafc/Makefile b/ftp/yafc/Makefile
index 721b88212c87..e2664b6f04bb 100644
--- a/ftp/yafc/Makefile
+++ b/ftp/yafc/Makefile
@@ -30,7 +30,7 @@ PLIST_DIRS= %%EXAMPLESDIR%%
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000 || exists(${LOCALBASE}/lib/libreadline.so.5)
+.if exists(${LOCALBASE}/lib/libreadline.so.5)
LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
.endif