1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Mark it i386 only

PR:		93936
Submitted by:	Igor Pokrovsky <ip@doom.homeunix.org> (maintainer)
Approved by:	portmgr (marcus)
This commit is contained in:
Emanuel Haupt 2006-02-28 16:34:27 +00:00
parent 00f85e891f
commit ec171d9ff0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=156896

View File

@ -30,6 +30,7 @@ WANT_SDL= yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib/${PORTNAME}-${PORTVERSION:R}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/[[:alpha:]]//g}
ONLY_FOR_ARCHS= i386
MAN1= gephex-engine.1 gephex-gui.1 gephex.1
@ -172,11 +173,4 @@ post-patch:
${WRKSRC}/configure.ac
@${REINPLACE_CMD} -e 's|%%PORTDOCS%%|${DO_DOCS}|' ${WRKSRC}/Makefile.am
# Compile contents of static libs with PIC, as they can be used in dynamic ones
.if !empty(ARCH:M*64)
@(${FIND} -X ${WRKSRC} -name Makefile.am \! -regex '.*cpuinfo.*' | \
${XARGS} ${REINPLACE_CMD} -E -e \
"/^lib[[:alnum:]]+_a_SOURCES.*$$/{ h; s//AM_CFLAGS = -DPIC -fPIC/; G;}")
.endif
.include <bsd.port.post.mk>