pkgsrc/graphics/lib3ds/Makefile
reinoud 970e47aeb4 Fix float reading by using a union instead of a cast. Newer gcc's would
generate incorrect code effectively breaking the package.

I know this solution is still lame but its fix comes from the still uncomitted
lib3ds version 2.0.0. Should one day be fixed/done correctly for non i386.
2008-12-18 13:15:10 +00:00

24 lines
555 B
Makefile

# $NetBSD: Makefile,v 1.15 2008/12/18 13:15:10 reinoud Exp $
#
DISTNAME= lib3ds-1.2.0
PKGREVISION= 6
CATEGORIES= graphics devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lib3ds/}
MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://lib3ds.sourceforge.net/
COMMENT= 3D Studio File Format Library
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
USE_TOOLS= autoconf automake
pre-configure:
cd ${WRKSRC} && libtoolize --force
cd ${WRKSRC} && autoreconf -i --force
.include "../../graphics/Mesa/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"