aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/tux-aqfh/Makefile8
-rw-r--r--games/tuxkart/Makefile8
-rw-r--r--misc/splitvt/Makefile8
-rw-r--r--sysutils/xfce4-netload-plugin/Makefile8
4 files changed, 28 insertions, 4 deletions
diff --git a/games/tux-aqfh/Makefile b/games/tux-aqfh/Makefile
index 477de2a78e7c..221ce0299cea 100644
--- a/games/tux-aqfh/Makefile
+++ b/games/tux-aqfh/Makefile
@@ -25,6 +25,12 @@ CONFIGURE_ARGS= --with-plib=${LOCALBASE}
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib -lusbhid ${PTHREAD_LIBS}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 800000
+BROKEN= does not compile: error: plib/js.h: No such file or directory
+.endif
+
post-patch:
@${REINPLACE_CMD} -e \
's|-lplibsl -lplibssg|-lplibsl -lplibjs -lplibssg|g ; \
@@ -35,4 +41,4 @@ post-patch:
's|$$(prefix)/games|@bindir@|g ; \
s|$$(datadir)/games|$$(datadir)|g'
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/tuxkart/Makefile b/games/tuxkart/Makefile
index e107661c0bce..2101ac734f4c 100644
--- a/games/tuxkart/Makefile
+++ b/games/tuxkart/Makefile
@@ -23,6 +23,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lusbhid"
CONFIGURE_ARGS= --with-plib=${LOCALBASE}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 800000
+BROKEN= does not compile: error: plib/js.h: No such file or directory
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-O6|${PTHREAD_CFLAGS}|g ; \
s|-lpthread|${PTHREAD_LIBS}|g ; \
@@ -31,4 +37,4 @@ post-patch:
's|[\$$][(]prefix[)]/games|@bindir@|g ; \
s|[\$$][(]datadir[)]/games|\$$(datadir)|g'
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/misc/splitvt/Makefile b/misc/splitvt/Makefile
index d44de818bb88..b2fcc1c79872 100644
--- a/misc/splitvt/Makefile
+++ b/misc/splitvt/Makefile
@@ -19,6 +19,12 @@ HAS_CONFIGURE= yes
ALL_TARGET=
MAN1= splitvt.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 800000
+BROKEN= does not compile: /usr/include/sys/ioctl_compat.h:42:2: Definitions not available without TTY ioctl compat
+.endif
+
post-patch:
${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/config.c
@@ -26,4 +32,4 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/splitvt ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/splitvt.1 ${PREFIX}/man/man1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/sysutils/xfce4-netload-plugin/Makefile b/sysutils/xfce4-netload-plugin/Makefile
index 4cd4cc34c097..4b123a50c1b6 100644
--- a/sysutils/xfce4-netload-plugin/Makefile
+++ b/sysutils/xfce4-netload-plugin/Makefile
@@ -22,4 +22,10 @@ USE_GMAKE= yes
USE_GNOME= gnometarget gtk20 intltool intlhack pkgconfig
USE_XFCE= configenv panel
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 800000
+BROKEN= does not compile: error: net/if_ppp.h: No such file or directory
+.endif
+
+.include <bsd.port.post.mk>