mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
The fix for amd64 broke i386 builds. Attempt to unbreak on
i386 while not breaking amd64. Approved by: portmgr (self)
This commit is contained in:
parent
1c3811dee7
commit
75ab8efd8b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=220382
@ -24,7 +24,6 @@ USE_GNOME= gtk12
|
||||
USE_GMAKE= yes
|
||||
USE_LDCONFIG= yes
|
||||
PKGDEINSTALL= ${PKGINSTALL}
|
||||
CFLAGS+= -fPIC
|
||||
|
||||
OPTIONS= DEBUG "Turn on debugging" off
|
||||
|
||||
@ -38,6 +37,10 @@ CONFIGURE_ARGS+= --enable-debug=no
|
||||
BROKEN= Does not install
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "amd64"
|
||||
CFLAGS+= -fPIC
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|xCC|xc| ; s|-O2||' \
|
||||
-e 's|ftello64|ftello| ; s|fseeko64|fseeko|' \
|
||||
|
Loading…
Reference in New Issue
Block a user