aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2007-10-04 08:24:54 +0800
committeredwin <edwin@FreeBSD.org>2007-10-04 08:24:54 +0800
commitab5645fbd297bdc50871bb1ce38ca93beddae3c4 (patch)
treed16df9a69a4fb5843308ff8d6a3da8b903cb2d79 /comms
parentee30f9ec2012ee5203ce83ed81f789c62a2279f2 (diff)
downloadfreebsd-ports-gnome-ab5645fbd297bdc50871bb1ce38ca93beddae3c4.tar.gz
freebsd-ports-gnome-ab5645fbd297bdc50871bb1ce38ca93beddae3c4.tar.zst
freebsd-ports-gnome-ab5645fbd297bdc50871bb1ce38ca93beddae3c4.zip
Remove always-false/true conditions based on OSVERSION 500000
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>