mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
o Fix header files: stdint.h -> inttypes.h
o Separate BROKEN messages to avoid ambiguity
This commit is contained in:
parent
890d2a506d
commit
01bad2395f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=125842
@ -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" | \
|
||||
|
@ -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" | \
|
||||
|
Loading…
Reference in New Issue
Block a user