diff options
author | fjoe <fjoe@FreeBSD.org> | 2003-12-10 22:46:40 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2003-12-10 22:46:40 +0800 |
commit | 2d421905dbc90e2ba4d7a281b3bb6076e3e71d1c (patch) | |
tree | 2411345702d72183e67fb47088330e5baeaeeed7 /emulators | |
parent | dc807876758b520d974498f8c1712cd5d43947ba (diff) | |
download | freebsd-ports-gnome-2d421905dbc90e2ba4d7a281b3bb6076e3e71d1c.tar.gz freebsd-ports-gnome-2d421905dbc90e2ba4d7a281b3bb6076e3e71d1c.tar.zst freebsd-ports-gnome-2d421905dbc90e2ba4d7a281b3bb6076e3e71d1c.zip |
Fix build on 5.x.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/libvm68k/Makefile | 11 |
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> |