mirror of
https://git.freebsd.org/ports.git
synced 2025-05-27 16:36:28 -04:00
Fix build on 5.x.
This commit is contained in:
parent
68355606a4
commit
715fb58da6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=95538
1 changed files with 5 additions and 6 deletions
|
@ -16,13 +16,12 @@ MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= M68000 virtual machine library
|
COMMENT= M68000 virtual machine library
|
||||||
|
|
||||||
USE_LIBTOOL= yes
|
USE_LIBTOOL= yes
|
||||||
|
USE_REINPLACE= yes
|
||||||
LIBTOOLFLAGS= --disable-ltlibs --release-ignore
|
LIBTOOLFLAGS= --disable-ltlibs --release-ignore
|
||||||
INSTALLS_SHLIB= yes
|
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
|
.include <bsd.port.mk>
|
||||||
BROKEN= "Does not compile (bad C++ code)"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue