diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-07-26 07:43:48 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-07-26 07:43:48 +0000 |
commit | 022b673f4383fd7b9248d76f0df37cf59b4d12dc (patch) | |
tree | df98e8e2b286ef212e5f0143863b5a387c087e50 /graphics/png | |
parent | 0b1c29b58430a1485ddfeff5d66e8c635a97a781 (diff) | |
download | FreeBSD-ports-022b673f4383fd7b9248d76f0df37cf59b4d12dc.zip FreeBSD-ports-022b673f4383fd7b9248d76f0df37cf59b4d12dc.tar.gz |
Create ${WRKSRC} --> ${WRKDIR}/libpng sysmlink and use it in ghostscript ports
instead of hardcoded ${WRKSRC}/libpng-png.version.number.
Diffstat (limited to 'graphics/png')
-rw-r--r-- | graphics/png/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile index 0e3a904..367e46f 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." |