1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

Fix build on AMD64

This commit is contained in:
Tilman Keskinoz 2004-02-17 12:59:08 +00:00
parent 47ce888c2f
commit fba3b1ed05
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101206

View File

@ -35,6 +35,10 @@ HAVE_EMACS!= which emacs || echo nope
PLIST= ${PKGDIR}/pkg-plist.emacs
.endif
.if ${MACHINE_ARCH:L} == "amd64"
CFLAGS+= -fPIC
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-O3|"${CFLAGS}"|' ${WRKSRC}/${CONFIGURE_SCRIPT}