1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Fix build on AMD64

Approved by:	maintainer timeout (26 days)
This commit is contained in:
Tilman Keskinoz 2004-01-31 04:00:09 +00:00
parent 41a12edcd8
commit 16318a622a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99578
3 changed files with 5 additions and 5 deletions

View File

@ -25,7 +25,7 @@ post-patch:
@${PERL} -pi -e 's|("include)|\1/${PORTNAME}|' ${WRKSRC}/hier.c
do-configure:
@${ECHO_CMD} '${CC} ${CFLAGS}' > ${WRKSRC}/conf-cc
@${ECHO_CMD} '${CC} ${CFLAGS} -fPIC' > ${WRKSRC}/conf-cc
@${ECHO_CMD} '${CC}' > ${WRKSRC}/conf-ld
@${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-home
.ifdef(WITH_OPT_PENTIUM)

View File

@ -126,11 +126,11 @@ CONFIGURE_ARGS+= --enable-mp3lame
.endif
## optimization
.ifdef(WITH_OPTIMIZED_CFLAGS)
CONFIGURE_ARGS+= --extra-cflags="-I${LOCALBASE}/include \
CONFIGURE_ARGS+= --extra-cflags="-fPIC -I${LOCALBASE}/include \
-I${X11BASE}/include \
-ffast-math -fomit-frame-pointer"
.else
CONFIGURE_ARGS+= --extra-cflags="-I${LOCALBASE}/include \
CONFIGURE_ARGS+= --extra-cflags="-fPIC -I${LOCALBASE}/include \
-I${X11BASE}/include" \
--disable-opts
.endif

View File

@ -126,11 +126,11 @@ CONFIGURE_ARGS+= --enable-mp3lame
.endif
## optimization
.ifdef(WITH_OPTIMIZED_CFLAGS)
CONFIGURE_ARGS+= --extra-cflags="-I${LOCALBASE}/include \
CONFIGURE_ARGS+= --extra-cflags="-fPIC -I${LOCALBASE}/include \
-I${X11BASE}/include \
-ffast-math -fomit-frame-pointer"
.else
CONFIGURE_ARGS+= --extra-cflags="-I${LOCALBASE}/include \
CONFIGURE_ARGS+= --extra-cflags="-fPIC -I${LOCALBASE}/include \
-I${X11BASE}/include" \
--disable-opts
.endif