aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2007-04-14 16:20:45 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2007-04-14 16:20:45 +0000
commitf89a2cd35601115b66290265f8f0504b6bbf6f1d (patch)
tree5d1e80daed50ca725f6e1e41cc0ef88e49fa0b99
parentf6b5e52b70ba69120358e0ee7c5110f44cd22e95 (diff)
downloadports-f89a2cd35601115b66290265f8f0504b6bbf6f1d.tar.gz
ports-f89a2cd35601115b66290265f8f0504b6bbf6f1d.zip
Notes
-rw-r--r--archivers/xdms/Makefile7
-rw-r--r--audio/beast/Makefile8
-rw-r--r--audio/cantus_3/Makefile8
-rw-r--r--audio/darkice/Makefile4
-rw-r--r--audio/ecasound/Makefile6
-rw-r--r--audio/mpdscribble/Makefile8
-rw-r--r--audio/py-flac/Makefile8
-rw-r--r--audio/quelcom/Makefile8
-rw-r--r--audio/tta/Makefile8
-rw-r--r--audio/xmms-imms/Makefile9
-rw-r--r--comms/kermit/Makefile12
11 files changed, 10 insertions, 76 deletions
diff --git a/archivers/xdms/Makefile b/archivers/xdms/Makefile
index e4e376bf1163..45336fb895cc 100644
--- a/archivers/xdms/Makefile
+++ b/archivers/xdms/Makefile
@@ -18,13 +18,8 @@ HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
ALL_TARGET= xdms
-.include <bsd.port.pre.mk>
-
post-patch:
${REINPLACE_CMD} "s@-O2 -Wall@$${CFLAGS} -Wall@g" ${WRKSRC}/src/Makefile.in
-.if ( ${OSVERSION} < 500000 )
- ${REINPLACE_CMD} 's/stdint.h/inttypes.h/' ${WRKSRC}/src/cdata.h
-.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/xdms ${PREFIX}/bin
@@ -33,4 +28,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/xdms.txt ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/beast/Makefile b/audio/beast/Makefile
index 982fb8ea2f35..849cd76cf917 100644
--- a/audio/beast/Makefile
+++ b/audio/beast/Makefile
@@ -33,12 +33,6 @@ CONFIGURE_ARGS= --disable-debug \
MAN1= beast.1 bsesh.1 sfidl.1
MAN3= beast-gxk.3 bse-procs.3 bse-structs.3 bse.3 sfi.3
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-IGNORE= does not compile on FreeBSD 4.x, missing library function isfinite
-.endif
-
post-patch:
@${REINPLACE_CMD} -Ee 's|$${libdir}/ladspa|${LOCALBASE}/lib/ladspa|; \
/FLAGS=/ s/(-g|-ggdb3|-pipe|-O2|-ftracer|-finline-functions|-fno-keep-static-consts)//; \
@@ -48,4 +42,4 @@ post-patch:
${WRKSRC}/bse/Makefile.in \
${WRKSRC}/bse/zintern/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/cantus_3/Makefile b/audio/cantus_3/Makefile
index faf36cf1a99c..3644f6b7ab49 100644
--- a/audio/cantus_3/Makefile
+++ b/audio/cantus_3/Makefile
@@ -25,12 +25,6 @@ USE_GMAKE= yes
USE_GNOME= gnomehack gnomeprefix libglade2
USE_XLIB= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-IGNORE= Does not build on 4.X.
-.endif
-
BASH?= ${LOCALBASE}/bin/bash
do-build:
@@ -39,4 +33,4 @@ do-build:
do-install:
@cd ${WRKSRC} && ${BASH} build.sh --install --prefix '${PREFIX}'
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/darkice/Makefile b/audio/darkice/Makefile
index ba10f2cdd798..6f13ee62d7df 100644
--- a/audio/darkice/Makefile
+++ b/audio/darkice/Makefile
@@ -33,10 +33,6 @@ PLIST_FILES= bin/darkice etc/darkice.cfg
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000
-BROKEN= does not compile on 4.x
-.endif
-
.if defined(WITHOUT_VORBIS)
CONFIGURE_ARGS+= --without-vorbis
.else
diff --git a/audio/ecasound/Makefile b/audio/ecasound/Makefile
index ac8f105224c2..d9f53abf3583 100644
--- a/audio/ecasound/Makefile
+++ b/audio/ecasound/Makefile
@@ -36,14 +36,10 @@ LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
.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
-.if ${OSVERSION} < 500000
-CFLAGS+= -fpermissive
-.endif
-
.if defined(WITH_ARTS)
LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts
.else
diff --git a/audio/mpdscribble/Makefile b/audio/mpdscribble/Makefile
index 755fbf86cbba..9e3a57b824d8 100644
--- a/audio/mpdscribble/Makefile
+++ b/audio/mpdscribble/Makefile
@@ -20,10 +20,4 @@ GNU_CONFIGURE= yes
MAN1= mpdscribble.1
PLIST_FILES= bin/mpdscribble
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= does not build on 4.x
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/py-flac/Makefile b/audio/py-flac/Makefile
index 5a91783d8f5e..6b3d82db2f81 100644
--- a/audio/py-flac/Makefile
+++ b/audio/py-flac/Makefile
@@ -22,13 +22,7 @@ USE_GMAKE= yes
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= Does not compile on FreeBSD 4.X
-.endif
-
do-build:
@cd ${WRKSRC} && ${GMAKE} build
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/quelcom/Makefile b/audio/quelcom/Makefile
index d243ef29a698..2904e90c5261 100644
--- a/audio/quelcom/Makefile
+++ b/audio/quelcom/Makefile
@@ -25,12 +25,6 @@ CXXFLAGS+= -I../lib -I${LOCALBASE}/include ${CPPFLAGS} \
-DHAVE_DECL_GETOPT -fPIC
LDFLAGS= -L../lib -L${LOCALBASE}/lib -lintl
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
-BROKEN= Linker error on alpha 4.x
-.endif
-
post-patch:
@${FIND} ${WRKSRC} -name "makefile" | ${XARGS} ${REINPLACE_CMD} -e \
's|make |$$(MAKE) |g ; \
@@ -57,4 +51,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/doc/quelcom.html ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/tta/Makefile b/audio/tta/Makefile
index aa940f4e94ba..3c3aafc120c8 100644
--- a/audio/tta/Makefile
+++ b/audio/tta/Makefile
@@ -24,12 +24,6 @@ PROGRAM= ttaenc
PORTDOCS= Readme
PLIST_FILES= bin/ttaenc
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-IGNORE= Requires FreeBSD 5.x or higher for wide character support
-.endif
-
do-build:
${CC} ${CFLAGS} -c ${WRKSRC}/${PROGRAM}.c -o ${WRKSRC}/${PROGRAM}.o
${CC} ${LDFLAGS} -o ${WRKSRC}/${PROGRAM} ${WRKSRC}/${PROGRAM}.o
@@ -42,4 +36,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/xmms-imms/Makefile b/audio/xmms-imms/Makefile
index 9bbbad0e6f73..f95443fd166c 100644
--- a/audio/xmms-imms/Makefile
+++ b/audio/xmms-imms/Makefile
@@ -43,16 +43,7 @@ USE_LDCONFIG= yes
BROKEN= Does not compile
.endif
-.if ${OSVERSION} < 500000
-BROKEN= Does not compile
-.endif
-
post-patch:
${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g' ${WRKSRC}/vars.mk.in
-.if ${OSVERSION} < 500000
- @cd ${WRKSRC} && \
- ${REINPLACE_CMD} 's:#include.<stdint\.h>:#include <sys/types.h>:' \
- players/xmms/plugin.h analyzer/spectrum.h analyzer/analyzer.cc
-.endif
.include <bsd.port.post.mk>
diff --git a/comms/kermit/Makefile b/comms/kermit/Makefile
index df5268b59add..fed492e6e112 100644
--- a/comms/kermit/Makefile
+++ b/comms/kermit/Makefile
@@ -22,21 +22,13 @@ MAN1= kermit.1
MAKEFILE= makefile
ALL_TARGET= krbmit
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 470103
-OPENSSL_097= -DOPENSSL_097
-.else
-OPENSSL_097=
-.endif
-
MAKE_ARGS= KTARGET=freebsd CC="${CC}" CC2="${CC}" \
CFLAGS="${CFLAGS} -I${OPENSSLINC} \
-DBSD44 -DCK_NCURSES -DCK_NEWTERM \
-DTCPSOCKET -DNOCOTFMC -DFREEBSD4 -DUSE_UU_LOCK -DFNFLOAT \
-funsigned-char -DTPUTSARGTYPE=int -DUSE_STRERROR -DCKHTTP \
-DCK_SSL -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_DES \
- -DOPENSSL_DES_LIBDES_COMPATIBILITY ${OPENSSL_097}" \
+ -DOPENSSL_DES_LIBDES_COMPATIBILITY -DOPENSSL_097" \
LIBS="-L${OPENSSLLIB} \
-lssl -lcrypto -lncurses -lcrypt -lutil -lm"
@@ -57,4 +49,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/ckermit.ini ${EXAMPLESDIR}/dot.kermrc
${INSTALL_DATA} ${WRKSRC}/ckermod.ini ${EXAMPLESDIR}/dot.mykermrc
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>