An attempt to fix build on 4.x.
Reported by: pointyhat via kris
This commit is contained in:
parent
a3d2c157e9
commit
7a51904aaa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=148607
@ -28,8 +28,7 @@ PLIST_DIRS= %%DATADIR%%
|
||||
.if defined(WITH_OPTIMIZED_CFLAGS)
|
||||
CFLAGS+= -O3 -ffast-math
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-fpo \
|
||||
--disable-release
|
||||
CONFIGURE_ARGS+= --disable-fpo
|
||||
.endif
|
||||
|
||||
# GTK and QT ui are broken in this version
|
||||
@ -86,6 +85,9 @@ pre-everything::
|
||||
@${ECHO_MSG} ""
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${REINPLACE_CMD} -e 's|-g -O2||;s|-O2||' ${WRKSRC}/configure
|
||||
|
||||
post-configure:
|
||||
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/Makefile
|
||||
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/src/Makefile
|
||||
|
Loading…
Reference in New Issue
Block a user