mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
- Fix build with gcc 3.4
Submitted by: arved (thank you!)
This commit is contained in:
parent
c53b1d14a8
commit
c7c20b40f7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116964
1 changed files with 8 additions and 3 deletions
|
@ -19,7 +19,12 @@ GNU_CONFIGURE= yes
|
|||
USE_REINPLACE= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" CXXFLAGS="${CFLAGS}"
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|-O6 -s|${CFLAGS}|' ${WRKSRC}/src/Makefile.in
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.include <bsd.port.mk>
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-O6 -s|${CFLAGS}|' ${WRKSRC}/src/Makefile.in
|
||||
.if ${OSVERSION} >= 502126
|
||||
@${REINPLACE_CMD} -e 's|#ifndef max|#if 0|' ${WRKSRC}/src/Game.h
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue