diff options
author | Brendan Fabeny <bf@FreeBSD.org> | 2011-11-19 07:18:23 +0000 |
---|---|---|
committer | Brendan Fabeny <bf@FreeBSD.org> | 2011-11-19 07:18:23 +0000 |
commit | 0e466f10022e0474fad07d12fd01cd45e935758b (patch) | |
tree | 89beba3f9225807114ca80c4f39e44e13a4d61bc /graphics/imlib2/Makefile | |
parent | 3b09aa2b3ae1787b3c362e63038622d9e4f43dc7 (diff) | |
download | ports-0e466f10022e0474fad07d12fd01cd45e935758b.tar.gz ports-0e466f10022e0474fad07d12fd01cd45e935758b.zip |
update to 1.4.5; replace WITH_MMX with a check on MACHINE_CPU
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=286046
Diffstat (limited to 'graphics/imlib2/Makefile')
-rw-r--r-- | graphics/imlib2/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/graphics/imlib2/Makefile b/graphics/imlib2/Makefile index 5e4467efbca1..0438c0d44c77 100644 --- a/graphics/imlib2/Makefile +++ b/graphics/imlib2/Makefile @@ -6,8 +6,7 @@ # PORTNAME= imlib2 -PORTVERSION= 1.4.4 -PORTREVISION= 1 +PORTVERSION= 1.4.5 PORTEPOCH= 2 CATEGORIES= graphics enlightenment MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} @@ -35,12 +34,16 @@ OPTIONS= JPEG "Enable jpeg image support" on \ .include <bsd.port.pre.mk> -.if defined(WITH_MMX) && (${ARCH} == "i386") +.if ${ARCH} == "i386" && !empty(MACHINE_CPU:Mmmx) CONFIGURE_ARGS+= --enable-mmx +.else +CONFIGURE_ARGS+= --disable-mmx .endif -.if (${ARCH} == "amd64") +.if ${ARCH} == "amd64" CONFIGURE_ARGS+= --enable-amd64 +.else +CONFIGURE_ARGS+= --disable-amd64 .endif .if defined(WITHOUT_X11) |