aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/glom/Makefile8
-rw-r--r--deskutils/doodle/Makefile8
-rw-r--r--deskutils/gdesklets-starterbar/Makefile12
-rw-r--r--deskutils/genius/Makefile4
-rw-r--r--devel/cccc/Makefile8
-rw-r--r--devel/ccmalloc/Makefile2
-rw-r--r--devel/libopensync/Makefile8
-rw-r--r--devel/libopensync022/Makefile8
-rw-r--r--devel/lwp/Makefile8
-rw-r--r--devel/pecl-svn/Makefile8
-rw-r--r--devel/regexxer/Makefile8
-rw-r--r--devel/stlport/Makefile14
-rw-r--r--editors/cooledit/Makefile7
-rw-r--r--editors/staroffice52/Makefile11
-rw-r--r--editors/staroffice60/Makefile13
-rw-r--r--editors/staroffice70/Makefile13
-rw-r--r--emulators/hatari/Makefile8
-rw-r--r--emulators/xmame/Makefile2
18 files changed, 14 insertions, 136 deletions
diff --git a/databases/glom/Makefile b/databases/glom/Makefile
index 8ee81bf187b9..57c03fe2d8f3 100644
--- a/databases/glom/Makefile
+++ b/databases/glom/Makefile
@@ -34,16 +34,10 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
INSTALLS_ICONS= yes
-.include <bsd.port.pre.mk>
-
-.if (${OSVERSION} < 500000)
-BROKEN= doesn't play well with 4.X.
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|-update-mime-database|true|g' ${WRKSRC}/Makefile.in
post-install:
@-update-mime-database ${PREFIX}/share/mime
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/deskutils/doodle/Makefile b/deskutils/doodle/Makefile
index 5410acba0b2f..84da5bd67529 100644
--- a/deskutils/doodle/Makefile
+++ b/deskutils/doodle/Makefile
@@ -33,10 +33,4 @@ post-patch:
s|,\$$PTHREAD_LIBS,|,${PTHREAD_LIBS},|; \
s|,\$$PTHREAD_LDFLAGS,|,,|;' ${WRKSRC}/configure
-.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/deskutils/gdesklets-starterbar/Makefile b/deskutils/gdesklets-starterbar/Makefile
index e638a3857ca2..7ad55a6f451a 100644
--- a/deskutils/gdesklets-starterbar/Makefile
+++ b/deskutils/gdesklets-starterbar/Makefile
@@ -28,18 +28,8 @@ DATADIR= ${PREFIX}/share/gnome
PKGMESSAGE= ${WRKDIR}/pkg-message
LANG= ca cs de es fr hr nl pt pt_BR sq sr sr@Latn sv
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-RUN_DEPENDS+= uuid:${PORTSDIR}/misc/ossp-uuid
-.endif
-
do-build:
@${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
-.if ${OSVERSION} < 500000
- @${REINPLACE_CMD} -e 's|uuidgen|uuid|g' \
- ${WRKSRC}/${NAME}/IconSet.py
-.endif
@${FIND} ${WRKSRC} -name '*.orig' -delete
@${FIND} ${WRKSRC} -name '*.bak' -delete
@@ -67,4 +57,4 @@ post-install:
${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/deskutils/genius/Makefile b/deskutils/genius/Makefile
index 1282dabf93ab..2b143cf103e6 100644
--- a/deskutils/genius/Makefile
+++ b/deskutils/genius/Makefile
@@ -36,8 +36,4 @@ USE_LDCONFIG= yes
LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
.endif
-.if ${OSVERSION} < 500000
-BROKEN= Does not compile on 4.x
-.endif
-
.include <bsd.port.post.mk>
diff --git a/devel/cccc/Makefile b/devel/cccc/Makefile
index 36ec1293b79b..63be780906d4 100644
--- a/devel/cccc/Makefile
+++ b/devel/cccc/Makefile
@@ -33,10 +33,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= does not compile
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/ccmalloc/Makefile b/devel/ccmalloc/Makefile
index ae703f93f9c7..79b18df2ebbe 100644
--- a/devel/ccmalloc/Makefile
+++ b/devel/ccmalloc/Makefile
@@ -34,10 +34,8 @@ BROKEN= Does not build with CC or CXX set
post-patch:
@${REINPLACE_CMD} -e 's|CFLAGS=".*"|CFLAGS="${CFLAGS}"|; \
s|CXXFLAGS=".*"|CXXFLAGS="${CXXFLAGS}"|' ${WRKSRC}/configure
-.if ${OSVERSION} >= 500000
@${REINPLACE_CMD} -e '/prefix=/ s|expr $$1|expr -- $$1|' \
${WRKSRC}/configure
-.endif
@${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/src/ccmalloc.in
post-install:
diff --git a/devel/libopensync/Makefile b/devel/libopensync/Makefile
index 89d839015952..f79de82bb205 100644
--- a/devel/libopensync/Makefile
+++ b/devel/libopensync/Makefile
@@ -27,12 +27,6 @@ USE_PYTHON= yes
USE_GNOME= gnomehack glib20 libxml2
INSTALLS_SHLIB= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= Does not build on FreeBSD 4.x
-.endif
-
pre-everything::
@${ECHO_MSG} "NOTE: You may want to avoid extra dependencies"
@${ECHO_MSG} " from devel/swig13 by building with the following"
@@ -46,4 +40,4 @@ post-patch:
${WRKSRC}/osengine/Makefile.in
${REINPLACE_CMD} -e "s,echo aout, echo elf,g" ${WRKSRC}/configure
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/libopensync022/Makefile b/devel/libopensync022/Makefile
index 89d839015952..f79de82bb205 100644
--- a/devel/libopensync022/Makefile
+++ b/devel/libopensync022/Makefile
@@ -27,12 +27,6 @@ USE_PYTHON= yes
USE_GNOME= gnomehack glib20 libxml2
INSTALLS_SHLIB= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= Does not build on FreeBSD 4.x
-.endif
-
pre-everything::
@${ECHO_MSG} "NOTE: You may want to avoid extra dependencies"
@${ECHO_MSG} " from devel/swig13 by building with the following"
@@ -46,4 +40,4 @@ post-patch:
${WRKSRC}/osengine/Makefile.in
${REINPLACE_CMD} -e "s,echo aout, echo elf,g" ${WRKSRC}/configure
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/lwp/Makefile b/devel/lwp/Makefile
index 95715029c30a..8656f5913cee 100644
--- a/devel/lwp/Makefile
+++ b/devel/lwp/Makefile
@@ -22,10 +22,4 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
-.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/devel/pecl-svn/Makefile b/devel/pecl-svn/Makefile
index 8327f5797e90..8eefbdcd43eb 100644
--- a/devel/pecl-svn/Makefile
+++ b/devel/pecl-svn/Makefile
@@ -22,13 +22,7 @@ LIB_DEPENDS= svn_client-1:${PORTSDIR}/devel/subversion
USE_PHP= yes
USE_PHPEXT= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= Does not compile on FreeBSD 4.x
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's,apr-0,apr-1,' ${WRKSRC}/config.m4
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/regexxer/Makefile b/devel/regexxer/Makefile
index c01fc51616ec..41badc15f016 100644
--- a/devel/regexxer/Makefile
+++ b/devel/regexxer/Makefile
@@ -55,10 +55,4 @@ pre-configure:
x-generate-plist:
(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX}|${GREP} regexxer) > temp-pkg-plist
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-USE_GCC= 3.4
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/stlport/Makefile b/devel/stlport/Makefile
index 3e3bb3214c60..e2aff4807b4b 100644
--- a/devel/stlport/Makefile
+++ b/devel/stlport/Makefile
@@ -41,10 +41,6 @@ PLIST_SUB+= COMPILER=${COMPILER}
INSTALL_TARGET= install_unix
USE_LDCONFIG= yes
-.if ${OSVERSION} < 440000
-BROKEN= "Not supported on systems prior to FreeBSD 4.4"
-.endif
-
.if ${COMPILER} == icc
CC= icc
CXX= icpc
@@ -56,13 +52,7 @@ CFLAGS= -O -pipe
CXXFLAGS= ${CFLAGS}
.endif
-.if ${COMPILER} == gcc && ${OSVERSION} < 460000
-pre-everything::
- @${ECHO_MSG}
- @${ECHO_MSG} "There may be a bug in your version of gcc's exception"
- @${ECHO_MSG} "handling code. Consider upgrading to FreeBSD 4.6"
- @${ECHO_MSG} "or above."
-.elif ${COMPILER} == gcc && ${OSVERSION} >= 502126
+.if ${COMPILER} == gcc && ${OSVERSION} >= 502126
pre-everything::
@${ECHO_MSG}
@${ECHO_MSG} "If you have encounted a compiler internal error"
@@ -87,7 +77,7 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/../doc/images/* ${DOCSDIR}/images
.endif
-.if ${OSVERSION} >= 46000 || ${COMPILER} == icc
+.if ${COMPILER} == icc
post-build: test
.endif
diff --git a/editors/cooledit/Makefile b/editors/cooledit/Makefile
index 05df03a57b6d..0b7d96c9ba68 100644
--- a/editors/cooledit/Makefile
+++ b/editors/cooledit/Makefile
@@ -29,12 +29,7 @@ MAN1= cooledit.1 coolman.1 smalledit.1
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500000
CFLAGS+= -DHAVE_MBRTOWC
-.endif
.if defined(WITH_NEXT_LOOK)
CONFIGURE_ARGS+= --enable-NeXT-look
@@ -43,4 +38,4 @@ CONFIGURE_ARGS+= --enable-NeXT-look
post-patch:
@${REINPLACE_CMD} -e 's|po pixmap man|po man|g' ${WRKSRC}/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/editors/staroffice52/Makefile b/editors/staroffice52/Makefile
index 375a18ff37ab..f8bad036a43d 100644
--- a/editors/staroffice52/Makefile
+++ b/editors/staroffice52/Makefile
@@ -92,17 +92,6 @@ pre-fetch:
@${ECHO} -----------------------------------------------------------
@${FALSE}
.endif
-.if ${OSVERSION} < 410000
- @${ECHO}
- @${ECHO} OS-VERSION ${OSVERSION}
- @${ECHO}
- @${ECHO} Staroffice depends on a scripting fix for
- @${ECHO} /usr/src/sys/i386/linux/linux_sysvec.c
- @${ECHO}
- @${ECHO} Please upgrade to FreeBSD 4.1 or later.
- @${ECHO}
- @${FALSE}
-.endif
.if ${SIZE} < 250000
@${ECHO}
@${ECHO} There is too few free disk space in your port
diff --git a/editors/staroffice60/Makefile b/editors/staroffice60/Makefile
index 61c130b4c303..dbb188f682be 100644
--- a/editors/staroffice60/Makefile
+++ b/editors/staroffice60/Makefile
@@ -80,19 +80,6 @@ pre-fetch:
.else
@${ECHO} Check if ${LINUXBASE}/etc/mtab exists: YES
.endif
-.if ${OSVERSION} < 450000
- @${ECHO}
- @${ECHO} ERROR:
- @${ECHO}
- @${ECHO} OS-VERSION ${OSVERSION}
- @${ECHO}
- @${ECHO} Staroffice depends on a scripting fix for
- @${ECHO} /usr/src/sys/i386/linux/linux_sysvec.c
- @${ECHO}
- @${ECHO} Please upgrade to FreeBSD 4.5 or later.
- @${ECHO}
- @${FALSE}
-.endif
.if ${SIZE} < 400000
@${ECHO}
@${ECHO} ERROR:
diff --git a/editors/staroffice70/Makefile b/editors/staroffice70/Makefile
index b47431e55365..f01f3f46abbc 100644
--- a/editors/staroffice70/Makefile
+++ b/editors/staroffice70/Makefile
@@ -84,19 +84,6 @@ pre-fetch:
.else
@${ECHO} Check if ${LINUXBASE}/etc/mtab exists: YES
.endif
-.if ${OSVERSION} < 450000
- @${ECHO}
- @${ECHO} ERROR:
- @${ECHO}
- @${ECHO} OS-VERSION ${OSVERSION}
- @${ECHO}
- @${ECHO} Staroffice depends on a scripting fix for
- @${ECHO} /usr/src/sys/i386/linux/linux_sysvec.c
- @${ECHO}
- @${ECHO} Please upgrade to FreeBSD 4.5 or later.
- @${ECHO}
- @${FALSE}
-.endif
.if ${SIZE} < 400000
@${ECHO}
@${ECHO} ERROR:
diff --git a/emulators/hatari/Makefile b/emulators/hatari/Makefile
index 307f85137dcc..bf3f76779e5b 100644
--- a/emulators/hatari/Makefile
+++ b/emulators/hatari/Makefile
@@ -22,10 +22,4 @@ USE_SDL= yes
PLIST_FILES= bin/hatari %%DATADIR%%/tos.img
PLIST_DIRS= %%DATADIR%%
-.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/emulators/xmame/Makefile b/emulators/xmame/Makefile
index c4c3f6efa928..323729c1dc47 100644
--- a/emulators/xmame/Makefile
+++ b/emulators/xmame/Makefile
@@ -115,7 +115,7 @@ ALLDOCS= ${GENERALDOCS} ${XMESSDOCS}
BROKEN= internal gcc error on FreeBSD < 6.x
.endif
-.if (${MAMEMESS} == "mess" && ${OSVERSION} >= 500000)
+.if (${MAMEMESS} == "mess")
USE_GCC= 3.4+
.endif