Fix compilation problems in -current
Submitted by: marcel
This commit is contained in:
parent
e6e979b6fa
commit
d19b12356c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34229
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user