diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-02-27 17:52:30 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-02-27 17:52:30 +0800 |
commit | 3a85d3265113154b19a1ace273332e44b846f355 (patch) | |
tree | f311f225f032027025a6b9885268f3a20a056f87 /graphics/png | |
parent | 315fd6eaf400af131f767e1706247dd7adb8d2b4 (diff) | |
download | freebsd-ports-graphics-3a85d3265113154b19a1ace273332e44b846f355.tar.gz freebsd-ports-graphics-3a85d3265113154b19a1ace273332e44b846f355.tar.zst freebsd-ports-graphics-3a85d3265113154b19a1ace273332e44b846f355.zip |
Revert previous change making compilation of mmx-optimised routines a default
option. It appears that resulting binary can't be used on a CPU without
mmx instruction set (for example Pentium Pro).
PR: 25377
Submitted by: Michael Hohmuth <hohmuth@inf.tu-dresden.de>
Diffstat (limited to 'graphics/png')
-rw-r--r-- | graphics/png/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile index 931b9d2da39..ec14fa35a82 100644 --- a/graphics/png/Makefile +++ b/graphics/png/Makefile @@ -7,6 +7,7 @@ PORTNAME= png PORTVERSION= 1.0.9 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= ftp://ftp.libpng.org/pub/png/src/ \ ${MASTER_SITE_SOURCEFORGE} @@ -31,7 +32,7 @@ MAN5= png.5 .include <bsd.port.pre.mk> -.if !defined(WITHOUT_PNG_MMX) && (${ARCH} == "i386") +.if defined(WITH_PNG_MMX) && (${ARCH} == "i386") MAKE_ENV+= USE_MMX=yes .endif @@ -39,11 +40,13 @@ post-extract: # Please don't delete the following line - this link used by ghostscript* ports @${LN} -sf ${WRKSRC} ${WRKDIR}/libpng # -.if !defined(WITHOUT_PNG_MMX) && (${ARCH} == "i386") +.if !defined(WITH_PNG_MMX) && (${ARCH} == "i386") @${ECHO_MSG} - @${ECHO_MSG} " If you have a CPU without MMX instruction set (anything below Pentium/P55C) you" - @${ECHO_MSG} " can add \"WITHOUT_PNG_MMX=YES\" to /etc/make.conf to build libpng without" - @${ECHO_MSG} " MMX-optimized assembler routines." + @${ECHO_MSG} " If you have a CPU with MMX instruction set (Pentium/P55C and higher) you can" + @${ECHO_MSG} " try to add \"WITH_PNG_MMX=YES\" to /etc/make.conf to build libpng with" + @${ECHO_MSG} " MMX-optimized assembler routines. Please beware that it would make impossible" + @${ECHO_MSG} " to use resulting png library on processors without MMX instruction set" + @${ECHO_MSG} " (486 and downward, old Pentiums and clones, PentiumPro etc.)." @${ECHO_MSG} .endif |