summaryrefslogtreecommitdiff
path: root/graphics/png
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-02-27 09:52:30 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-02-27 09:52:30 +0000
commitab787c9e6052542f89c69aa295dfaf41cf6cf510 (patch)
tree98e0f8413255f5f7203888c0ded522e90510bddc /graphics/png
parentMark as broken by this reason: (diff)
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>
Notes
Notes: svn path=/head/; revision=38845
Diffstat (limited to 'graphics/png')
-rw-r--r--graphics/png/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile
index 931b9d2da39d..ec14fa35a823 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