diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/png/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile index a22318702b26..58f3c6e8f43e 100644 --- a/graphics/png/Makefile +++ b/graphics/png/Makefile @@ -32,7 +32,7 @@ MAN5= png.5 .include <bsd.port.pre.mk> -.if defined(PNG_WITH_MMX) && (${ARCH} == "i386") +.if defined(WITH_PNG_MMX) && (${ARCH} == "i386") MAKE_ENV+= USE_MMX=yes MMX_PATCH= libpng-mmx-1.0.9pre3.zip DISTFILES+= ${MMX_PATCH} @@ -44,13 +44,13 @@ post-extract: # Please don't delete the following line - this link used by ghostscript* ports @${LN} -sf ${WRKSRC} ${WRKDIR}/libpng # -.if defined(PNG_WITH_MMX) && (${ARCH} == "i386") +.if defined(WITH_PNG_MMX) && (${ARCH} == "i386") @cd ${WRKDIR} && unzip ${DISTDIR}/${MMX_PATCH} >/dev/null @${CP} ${WRKDIR}/pnggccrd.c ${WRKSRC}/pnggccrd.c .elif ${ARCH} == "i386" @${ECHO_MSG} @${ECHO_MSG} " If you have a CPU with MMX instruction set (Pentium/P55C and higher) you can" - @${ECHO_MSG} " try to add \"PNG_WITH_MMX=YES\" to /etc/make.conf to build libpng with" + @${ECHO_MSG} " try to add \"WITH_PNG_MMX=YES\" to /etc/make.conf to build libpng with" @${ECHO_MSG} " MMX-optimized assembler routines." @${ECHO_MSG} .endif |