1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Fix compilation problems in -current

Submitted by:	marcel
This commit is contained in:
Jean-Marc Zucconi 2000-10-25 18:03:54 +00:00
parent e6e979b6fa
commit d19b12356c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34229

View File

@ -78,6 +78,14 @@ pre-fetch:
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 500012
post-patch:
@if [ ! -e ${WRKSRC}/include/Xarch.h.orig ]; then\
mv ${WRKSRC}/include/Xarch.h ${WRKSRC}/include/Xarch.h.orig;\
${SED} -e 52d -e 54d < ${WRKSRC}/include/Xarch.h.orig > \
${WRKSRC}/include/Xarch.h; fi
.endif
pre-install:
${MKDIR} ${PREFIX}