diff options
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/xmule/Makefile | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/net-p2p/xmule/Makefile b/net-p2p/xmule/Makefile index aaeef05e6dd6..47a5a088e442 100644 --- a/net-p2p/xmule/Makefile +++ b/net-p2p/xmule/Makefile @@ -47,11 +47,19 @@ WX_CONFIG?= ${X11BASE}/bin/wxgtk2-2.4-config FILES_ATOLL_PATCH= src/Preferences.cpp \ src/otherfunctions.cpp +FILES_STDINT_PATCH= \ + intl/loadmsgcat.c \ + src/ClientList.h \ + src/sockets.h .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 || ${ARCH} == "sparc64" -BROKEN= "Does not compile on 4.x or on sparc64" +.if ${OSVERSION} < 500000 +BROKEN= "Does not compile on FreeBSD 4.x" +.endif + +.if ${ARCH} == "sparc64" +BROKEN= "Does not compile on sparc64" .endif post-patch: @@ -76,6 +84,12 @@ post-patch: -e 's|atoll[[:space:]]*\([[:space:]]*char|atoll(const char|' \ ${WRKSRC}/${file} .endfor +# stdint.h -> inttypes.h +.for file in ${FILES_STDINT_PATCH} + @${REINPLACE_CMD} -E \ + -e 's|<stdint.h>|<inttypes.h>|' \ + ${WRKSRC}/${file} +.endfor pre-configure: @${FIND} ${WRKSRC} -type f -name "Makefile.in" | \ |