diff options
-rw-r--r-- | graphics/djvulibre/Makefile | 8 | ||||
-rw-r--r-- | x11-servers/driglide/Makefile | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/graphics/djvulibre/Makefile b/graphics/djvulibre/Makefile index e5d9c259464..0dcc209cdf3 100644 --- a/graphics/djvulibre/Makefile +++ b/graphics/djvulibre/Makefile @@ -42,6 +42,12 @@ CONFIGURE_ENV+= CXX=${CXX} \ CONFIGURE_ARGS+=--disable-djview .endif +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 502126 +BROKEN= "Does not compile on FreeBSD >= 5.x" +.endif + .if !defined(WITH_OPTIMIZED_CFLAGS) pre-everything:: @${ECHO_MSG} "You can enable additional compilation optimizations" @@ -76,4 +82,4 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/x11-servers/driglide/Makefile b/x11-servers/driglide/Makefile index 63e87c962b0..8922eabbcc4 100644 --- a/x11-servers/driglide/Makefile +++ b/x11-servers/driglide/Makefile @@ -30,7 +30,13 @@ ONLY_FOR_ARCHS= i386 # Glide DOES NOT work with CFLAGS greater than -O2 CFLAGS+= -O +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 502126 +BROKEN= "Does not compile on FreeBSD >= 5.x" +.endif + pre-configure: cd $(WRKSRC) && ${ACLOCAL} -I ${LOCALBASE}/share/aclocal -.include <bsd.port.mk> +.include <bsd.port.post.mk> |