diff options
-rw-r--r-- | devel/p5-Cdk/Makefile | 8 | ||||
-rw-r--r-- | x11-wm/jwm/Makefile | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/devel/p5-Cdk/Makefile b/devel/p5-Cdk/Makefile index 74333df6c40f..a4270393420e 100644 --- a/devel/p5-Cdk/Makefile +++ b/devel/p5-Cdk/Makefile @@ -21,4 +21,10 @@ LIB_DEPENDS= cdk.5:${PORTSDIR}/devel/cdk PERL_CONFIGURE= yes -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +BROKEN= Does not compile +.endif + +.include <bsd.port.post.mk> diff --git a/x11-wm/jwm/Makefile b/x11-wm/jwm/Makefile index 3049fcab7700..ee9c8ce756bb 100644 --- a/x11-wm/jwm/Makefile +++ b/x11-wm/jwm/Makefile @@ -26,6 +26,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ MAN1= jwm.1 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +BROKEN= Does not compile +.endif + post-patch: @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/example.jwmrc @@ -38,4 +44,4 @@ do-install: fi ${INSTALL_MAN} ${WRKSRC}/jwm.1 ${MANPREFIX}/man/man1/ -.include <bsd.port.mk> +.include <bsd.port.post.mk> |