diff options
author | nia <nia@pkgsrc.org> | 2020-11-19 19:26:28 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-11-19 19:26:28 +0000 |
commit | 502998dd464dd1e1a1399628ff11f1b5dd2ae6b3 (patch) | |
tree | 1b279484c804b96affecccc533f7b0c838b3e0cd /emulators | |
parent | 2f3421dce320eb0728747cf64b498ab9e19863ef (diff) | |
download | pkgsrc-502998dd464dd1e1a1399628ff11f1b5dd2ae6b3.tar.gz |
rpcemu: Fix building on NetBSD due to non-standard fopen64 crap
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/rpcemu/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/emulators/rpcemu/Makefile b/emulators/rpcemu/Makefile index af1ff4c13ed..ae11b2a6ea2 100644 --- a/emulators/rpcemu/Makefile +++ b/emulators/rpcemu/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2020/11/05 09:08:04 ryoon Exp $ +# $NetBSD: Makefile,v 1.5 2020/11/19 19:26:28 nia Exp $ DISTNAME= rpcemu-0.9.3 PKGREVISION= 3 @@ -16,6 +16,11 @@ TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools INSTALLATION_DIRS+= bin +CFLAGS.NetBSD+= -Dfopen64=fopen +CFLAGS.NetBSD+= -Dftello64=ftello +CFLAGS.NetBSD+= -Dfseeko64=fseeko +CFLAGS.NetBSD+= -Doff64_t=off_t + post-patch: ${RUN} cd ${WRKSRC}/src && \ ${PATCH} -p1 <${FILESDIR}/rpcemu-0.9.3-mac-patch-v1.patch |