summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 00:24:54 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 00:24:54 +0000
commite74f1f2ba2a728af887a83b377b13746054b76e5 (patch)
tree9e8d0df9fa6e67d5a64401e5b706db886bfc98aa /comms
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=200769
Diffstat (limited to 'comms')
-rw-r--r--comms/ktrack/Makefile8
-rw-r--r--comms/linpsk/Makefile8
-rw-r--r--comms/nec2c/Makefile8
-rw-r--r--comms/qsstv/Makefile9
4 files changed, 4 insertions, 29 deletions
diff --git a/comms/ktrack/Makefile b/comms/ktrack/Makefile
index a68751877906..0a93e9033ebb 100644
--- a/comms/ktrack/Makefile
+++ b/comms/ktrack/Makefile
@@ -29,12 +29,6 @@ USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
USE_GETTEXT= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-USE_GCC= 3.3+
-.endif
-
post-patch:
@${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
@@ -46,4 +40,4 @@ post-install:
${INSTALL_MAN} ${WRKSRC}/doc/en/index.docbook ${PREFIX}/share/doc/HTML/en/ktrack/
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/comms/linpsk/Makefile b/comms/linpsk/Makefile
index a576d8a997b7..5dc1444b104c 100644
--- a/comms/linpsk/Makefile
+++ b/comms/linpsk/Makefile
@@ -32,12 +32,6 @@ CONFIGURE_ARGS= --with-qtdir=${X11BASE} --prefix=${PREFIX}
SUB_FILES= pkg-message
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= does not build on FreeBSD 4.x
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread||' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/configure
@@ -59,4 +53,4 @@ post-install:
${INSTALL_DATA} ${FILESDIR}/LinPSKConfig.xml ${EXAMPLESDIR}
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/comms/nec2c/Makefile b/comms/nec2c/Makefile
index 394c61a74160..491af29dc1e5 100644
--- a/comms/nec2c/Makefile
+++ b/comms/nec2c/Makefile
@@ -23,12 +23,6 @@ COMMENT= Used to calculate antenna patterns useful to ham radio
#
LIB_DEPENDS= ccm:${PORTSDIR}/math/ccmath
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-USE_GCC= 3.4+
-.endif
-
post-patch:
${CP} ${FILESDIR}/carg.c ${WRKSRC}
@@ -46,4 +40,4 @@ do-install:
@${ECHO} ""
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/comms/qsstv/Makefile b/comms/qsstv/Makefile
index 84f4608f02fb..bf918ff16129 100644
--- a/comms/qsstv/Makefile
+++ b/comms/qsstv/Makefile
@@ -26,13 +26,6 @@ MAKE_ARGS+= QTDIR=${QT_PREFIX} \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
DESTDIR="" TARGET="qsstv" DOCSDIR="${DOCSDIR}"
-.include <bsd.port.pre.mk>
-
-post-patch:
-.if ${OSVERSION} < 500000
- @${FIND} ${WRKSRC} -name '*.cpp' | ${XARGS} ${REINPLACE_CMD} -e 's|)round(|)rint(|g ; s|) round(|)rint(|g ; s|(round)|(rint)|'
-.endif
-
do-configure:
cd ${WRKSRC}; \
${SETENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/qmake -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ ${PORTNAME}.pro; \
@@ -45,4 +38,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>