summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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