aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-08-30 08:02:35 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-08-30 08:02:35 +0000
commitb51506e3fbe4da9adec88bca38fc2f37277581fc (patch)
tree407cdb3f5fd207e68260bb1c36a07a90077c9f8e /graphics
parent6c09d5e092dbc8c3e244e6340e7ccff8bc89ccf3 (diff)
downloadports-b51506e3fbe4da9adec88bca38fc2f37277581fc.tar.gz
ports-b51506e3fbe4da9adec88bca38fc2f37277581fc.zip
Add official patch (only affects MMX routines).
Notes
Notes: svn path=/head/; revision=32126
Diffstat (limited to 'graphics')
-rw-r--r--graphics/png/Makefile6
-rw-r--r--graphics/png/distinfo1
2 files changed, 6 insertions, 1 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile
index 367e46fe9e16..7ba4e63f3989 100644
--- a/graphics/png/Makefile
+++ b/graphics/png/Makefile
@@ -12,13 +12,15 @@ CATEGORIES= graphics
MASTER_SITES= ftp://ftp.libpng.org/pub/png/src/ \
${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= lib${PORTNAME}
-DISTNAME= lib${PKGNAME}
+DISTFILES= lib${PKGNAME}${EXTRACT_SUFX} pnggccrd-1.0.9pre2${EXTRACT_SUFX}
PATCH_SITES= ftp://ftp.libpng.org/pub/png/src/
#PATCHFILES=
MAINTAINER= ache@FreeBSD.org
+WRKSRC= ${WRKDIR}/lib${PKGNAME}
+
INSTALLS_SHLIB= yes
SHLIB_VER= 4
@@ -38,6 +40,8 @@ post-extract:
# Please don't delete the following line - this link used by ghostscript* ports
@${LN} -sf ${WRKSRC} ${WRKDIR}/libpng
#
+ @${CP} ${WRKDIR}/pnggccrd.c ${WRKSRC}/pnggccrd.c
+
.if !defined(WITH_MMX) && (${ARCH} == "i386")
@${ECHO_MSG}
@${ECHO_MSG} " If you have a CPU with MMX instruction set (Pentium/P55C and higher) you can"
diff --git a/graphics/png/distinfo b/graphics/png/distinfo
index 119a20ad681e..9bceed0b98ae 100644
--- a/graphics/png/distinfo
+++ b/graphics/png/distinfo
@@ -1 +1,2 @@
MD5 (libpng-1.0.8.tar.gz) = 5ac355d7ec9e27f20bfe00aa10f9fdde
+MD5 (pnggccrd-1.0.9pre2.tar.gz) = 39df0d4c5325067b184e33faecc839bf