summaryrefslogtreecommitdiff
path: root/graphics/png
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-07-26 07:43:48 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-07-26 07:43:48 +0000
commita8cffde47328629d5ba275c9abc453d307eca31a (patch)
tree4705a0065b8fbffcd765201d8957070c6890d4e5 /graphics/png
parentUpdate to 1.0.8. This release includes experimental MMX support, but it should (diff)
Create ${WRKSRC} --> ${WRKDIR}/libpng sysmlink and use it in ghostscript ports
instead of hardcoded ${WRKSRC}/libpng-png.version.number.
Notes
Notes: svn path=/head/; revision=31041
Diffstat (limited to 'graphics/png')
-rw-r--r--graphics/png/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile
index 0e3a9046f332..367e46fe9e16 100644
--- a/graphics/png/Makefile
+++ b/graphics/png/Makefile
@@ -5,8 +5,6 @@
#
# $FreeBSD$
#
-# PLEASE update print/ghostscript5 (there's a symlink that uses a hardwired
-# png version number) when updating this port. Thank you.
PORTNAME= png
PORTVERSION= 1.0.8
@@ -36,8 +34,11 @@ MAN5= png.5
MAKE_ENV+= USE_MMX=yes
.endif
-.if !defined(WITH_MMX) && (${ARCH} == "i386")
post-extract:
+# Please don't delete the following line - this link used by ghostscript* ports
+ @${LN} -sf ${WRKSRC} ${WRKDIR}/libpng
+#
+.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"
@${ECHO_MSG} " try to add \"-DWITH_MMX\" to build libpng with MMX-optimized assembler routines."