aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2005-01-09 01:35:15 +0800
committerlioux <lioux@FreeBSD.org>2005-01-09 01:35:15 +0800
commit388269f19a798a225d8e9cf429b7465953b6914e (patch)
treea2142eab7d0b16a7a0ddcce877a751d5d05e0671 /net-p2p
parentb09a8fcb11392597c7640420dc4d9696799c78b9 (diff)
downloadfreebsd-ports-gnome-388269f19a798a225d8e9cf429b7465953b6914e.tar.gz
freebsd-ports-gnome-388269f19a798a225d8e9cf429b7465953b6914e.tar.zst
freebsd-ports-gnome-388269f19a798a225d8e9cf429b7465953b6914e.zip
o Fix header files: stdint.h -> inttypes.h
o Separate BROKEN messages to avoid ambiguity
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/xmule/Makefile18
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" | \