pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Build problems for liboil on netbsd-macppc
Am 03.09.2006 um 14:32 schrieb Marco Righele:
It seems that while Altivec is detected by configure, it is not
enabled during building.
So I added -maltivec to CFLAGS in /etc/mk.conf. With that, the port
builds and install without problems.
Unfortunately, some other ports that depends on liboil won't work
correctly, for example some gstreamer plugins.
Any idea on how to fix it ?
you might at least consider to ad a hacks.mk for the package in
question which could contain something like
.if ${OPSYS} == Darwin && {PKGSRC_COMPILER} == gcc && exists(/usr/bin/
machine)
_CPUTYPE!= /usr/bin/machine
. if "${_CPUTYPE}" == "ppc7400" || "${_CPUTYPE}" == "ppc970" # G4 or G5
PKG_HACKS+= enable-altivec
CFLAGS+= -maltivec
. endif
.endif
--
Georg Schwarz http://home.pages.de/~schwarz/
georg.schwarz%freenet.de@localhost +49 178 8545053
Home |
Main Index |
Thread Index |
Old Index