pkgsrc/graphics/imlib2/Makefile
cube d24b17b105 For USE_MMX users, do the following:
o only include it in the BUILD_DEFS if the current platform is concerned.
  For now that only includes i386, but we might find amd64 users in the
  future.
o test against [Yy][Ee][Ss], for consistency.

Fixes part of PR 26243.
2004-07-12 19:27:05 +00:00

37 lines
909 B
Makefile

# $NetBSD: Makefile,v 1.20 2004/07/12 19:27:05 cube Exp $
#
DISTNAME= imlib2-1.1.0
PKGREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=enlightenment/}
MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.enlightenment.org/pages/imlib2.html
COMMENT= Image manipulation library
GNU_CONFIGURE= YES
USE_X11= YES
USE_LIBTOOL= YES
USE_BUILDLINK3= YES
PKGCONFIG_OVERRIDE= imlib2.pc.in
LIBS.SunOS= -lm
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "i386"
BUILD_DEFS+= USE_MMX
. if !empty(USE_MMX:M[Yy][Ee][Ss])
CONFIGURE_ARGS+= --enable-mmx
. endif
.endif
.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/libungif/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"