From 715fb58da657e9d1cbaefd09d9dd9ee2539a42e4 Mon Sep 17 00:00:00 2001 From: Max Khon Date: Wed, 10 Dec 2003 14:46:40 +0000 Subject: Fix build on 5.x. --- emulators/libvm68k/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'emulators') diff --git a/emulators/libvm68k/Makefile b/emulators/libvm68k/Makefile index 69840b8ae2d6..c9f56de90f8e 100644 --- a/emulators/libvm68k/Makefile +++ b/emulators/libvm68k/Makefile @@ -16,13 +16,12 @@ MAINTAINER= ports@FreeBSD.org COMMENT= M68000 virtual machine library USE_LIBTOOL= yes +USE_REINPLACE= yes LIBTOOLFLAGS= --disable-ltlibs --release-ignore INSTALLS_SHLIB= yes -.include +post-patch: + @${REINPLACE_CMD} -e '/^#define _POSIX_C_SOURCE 199506L/d' \ + ${WRKSRC}/memory.cc ${WRKSRC}/memory_map.cc ${WRKSRC}/version.cc -.if ${OSVERSION} >= 500113 -BROKEN= "Does not compile (bad C++ code)" -.endif - -.include +.include -- cgit v1.2.3