aboutsummaryrefslogtreecommitdiff
path: root/emulators/libvm68k
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-12-10 14:46:40 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-12-10 14:46:40 +0000
commit715fb58da657e9d1cbaefd09d9dd9ee2539a42e4 (patch)
tree519d2dd053d85e6a939dda39d20c6d34ce255e4a /emulators/libvm68k
parent68355606a4c7440fded7662fc3661a160e399ffc (diff)
downloadports-715fb58da657e9d1cbaefd09d9dd9ee2539a42e4.tar.gz
ports-715fb58da657e9d1cbaefd09d9dd9ee2539a42e4.zip
Notes
Diffstat (limited to 'emulators/libvm68k')
-rw-r--r--emulators/libvm68k/Makefile11
1 files changed, 5 insertions, 6 deletions
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 <bsd.port.pre.mk>
+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 <bsd.port.post.mk>
+.include <bsd.port.mk>