summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archivers/libcabinet/Makefile8
-rw-r--r--audio/rio/Makefile8
-rw-r--r--devel/tvision/Makefile8
-rw-r--r--editors/zed/Makefile8
-rw-r--r--ftp/vsftpd/Makefile8
-rw-r--r--java/javel/Makefile8
-rw-r--r--math/pspp/Makefile8
-rw-r--r--misc/gtl/Makefile8
-rw-r--r--net/freewais-sf/Makefile8
-rw-r--r--textproc/grap/Makefile8
-rw-r--r--textproc/isearch/Makefile8
-rw-r--r--textproc/sp/Makefile8
12 files changed, 84 insertions, 12 deletions
diff --git a/archivers/libcabinet/Makefile b/archivers/libcabinet/Makefile
index e49b87ee2be5..75e1fbe0e2f5 100644
--- a/archivers/libcabinet/Makefile
+++ b/archivers/libcabinet/Makefile
@@ -17,6 +17,12 @@ INSTALLS_SHLIB= yes
SRCFILE= ${WRKSRC}/listcab.cpp
PROGFILE= ${SRCFILE:S/.cpp$//}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500035
+BROKEN= "Does not compile on 5.0"
+.endif
+
post-build:
${CXX} ${CXXFLAGS} -o ${PROGFILE} ${SRCFILE} -L${WRKSRC} -lcabinet
@@ -26,4 +32,4 @@ pre-install:
post-install:
${INSTALL_PROGRAM} ${PROGFILE} ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/audio/rio/Makefile b/audio/rio/Makefile
index 0b3838dc4598..7c54d225aa9e 100644
--- a/audio/rio/Makefile
+++ b/audio/rio/Makefile
@@ -20,7 +20,13 @@ MAKEFILE= makefile
BINOWN= root
BINMODE= 4755
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500035
+BROKEN= "Does not compile on 5.0"
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rio ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/tvision/Makefile b/devel/tvision/Makefile
index 5964e837477e..83bc25e99168 100644
--- a/devel/tvision/Makefile
+++ b/devel/tvision/Makefile
@@ -20,6 +20,12 @@ GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500035
+BROKEN= "Does not compile on 5.0"
+.endif
+
post-extract:
@${MV} ${WRKSRC}/myendian.h ${WRKSRC}/lib
@@ -29,4 +35,4 @@ post-patch:
@${REINPLACE_CMD} -e 's,menus.h msgbox.h,menus.h msgbox.h myendian.h,' \
${WRKSRC}/lib/Makefile.in
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/editors/zed/Makefile b/editors/zed/Makefile
index 4f40b6056601..6e4ffa1ab8ac 100644
--- a/editors/zed/Makefile
+++ b/editors/zed/Makefile
@@ -12,7 +12,13 @@ MASTER_SITES= http://zed.c3po.it/
MAINTAINER= exile@chamber.ee
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500035
+BROKEN= "Does not compile on 5.0"
+.endif
+
post-install:
@${STRIP_CMD} ${PREFIX}/bin/zed
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/ftp/vsftpd/Makefile b/ftp/vsftpd/Makefile
index e2d0804d6545..7463e64482d6 100644
--- a/ftp/vsftpd/Makefile
+++ b/ftp/vsftpd/Makefile
@@ -18,6 +18,12 @@ MAN5= vsftpd.conf.5
MAN8= vsftpd.8
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500035
+BROKEN= "Does not compile on 5.0"
+.endif
+
post-patch:
@${PERL} -pi -e 's@/etc/vsftpd.conf@${PREFIX}/etc/vsftpd.conf@' \
${WRKSRC}/defs.h
@@ -42,4 +48,4 @@ do-install:
@${PERL5} ${PKGINSTALL}
@${MKDIR} /var/ftp
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/java/javel/Makefile b/java/javel/Makefile
index 717b6fb7753e..f8d012c3fc49 100644
--- a/java/javel/Makefile
+++ b/java/javel/Makefile
@@ -19,6 +19,12 @@ MAKEFILE= makefile
MAN1= javel.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500035
+BROKEN= "Does not compile on 5.0"
+.endif
+
post-patch:
@${PERL} -pi -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \
s,CC,CXX,g ; s,CFLAGS,CXXFLAGS,g" ${WRKSRC}/${MAKEFILE}
@@ -27,4 +33,4 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/javel ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/javel.1 ${MAN1PREFIX}/man/man1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/math/pspp/Makefile b/math/pspp/Makefile
index 11ce4b44af87..4615e82e2474 100644
--- a/math/pspp/Makefile
+++ b/math/pspp/Makefile
@@ -15,4 +15,10 @@ MAINTAINER= john@coastalgeology.org
GNU_CONFIGURE= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500035
+BROKEN= "Does not compile on 5.0"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/misc/gtl/Makefile b/misc/gtl/Makefile
index 6ee509e04e93..c9a6edcf32e0 100644
--- a/misc/gtl/Makefile
+++ b/misc/gtl/Makefile
@@ -16,4 +16,10 @@ MAINTAINER= nakai@FreeBSD.org
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500035
+BROKEN= "Does not compile on 5.0"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/freewais-sf/Makefile b/net/freewais-sf/Makefile
index 0e3c8af18b4a..4fd8fc8e2034 100644
--- a/net/freewais-sf/Makefile
+++ b/net/freewais-sf/Makefile
@@ -25,6 +25,12 @@ MAN1= catalog.1 dictionary.1 inverted_file.1 mkfmt.1 waisindex.1 \
waisq.1 waissearch.1 waisserver.1 xwais.1 xwaisq.1
MAN3= ftw.3 regexp.3 scandir.3
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500035
+BROKEN= "Does not compile on 5.0"
+.endif
+
post-extract:
${CP} ${FILESDIR}/freebsd.sh ${WRKSRC}/hints
@@ -34,4 +40,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/SF/fwsf.ps ${PREFIX}/share/doc/SF
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/textproc/grap/Makefile b/textproc/grap/Makefile
index 361e865a1056..f0c194eddfff 100644
--- a/textproc/grap/Makefile
+++ b/textproc/grap/Makefile
@@ -17,9 +17,15 @@ CONFIGURE_ARGS=--with-freebsd-ports
MAN1= grap.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500035
+BROKEN= "Does not compile on 5.0"
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
cd ${WRKSRC} && make install-docs
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/textproc/isearch/Makefile b/textproc/isearch/Makefile
index 9797cae44702..ab5a316377d7 100644
--- a/textproc/isearch/Makefile
+++ b/textproc/isearch/Makefile
@@ -16,10 +16,16 @@ MAINTAINER= pmarquis@pobox.com
GNU_CONFIGURE= yes
MAKE_ARGS= INSTALL=${PREFIX}/bin
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500035
+BROKEN= "Does not compile on 5.0"
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/html/*.html ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/textproc/sp/Makefile b/textproc/sp/Makefile
index 51ec20618e07..7bba5b46375b 100644
--- a/textproc/sp/Makefile
+++ b/textproc/sp/Makefile
@@ -15,6 +15,12 @@ MAINTAINER= chuckr@FreeBSD.org
USE_SUBMAKE= yes
INSTALLS_SHLIB= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500035
+BROKEN= "Does not compile on 5.0"
+.endif
+
post-patch:
$(CP) $(WRKSRC)/Makefile $(WRKSRC)/Makefile.sed
$(CP) $(WRKSRC)/Makefile.lib $(WRKSRC)/Makefile.lib.sed
@@ -28,4 +34,4 @@ post-install:
for file in $(WRKSRC)/include/*;do $(INSTALL_DATA) $$file $(PREFIX)/include/sp;done
for file in $(WRKSRC)/doc/*;do $(INSTALL_DATA) $$file $(PREFIX)/share/doc/sp;done
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>