aboutsummaryrefslogtreecommitdiff
path: root/graphics/exrtools
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 01:14:50 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 01:14:50 +0000
commit42b9878de05e3fd31b1537c7fb21ea8d4260e335 (patch)
treefaaedbe6ae8110bb19ce982907b65ca7c487c291 /graphics/exrtools
parentf7c0630cd25902e9d0299337f0075f1969f3c15c (diff)
downloadports-42b9878de05e3fd31b1537c7fb21ea8d4260e335.tar.gz
ports-42b9878de05e3fd31b1537c7fb21ea8d4260e335.zip
Notes
Diffstat (limited to 'graphics/exrtools')
-rw-r--r--graphics/exrtools/Makefile21
1 files changed, 2 insertions, 19 deletions
diff --git a/graphics/exrtools/Makefile b/graphics/exrtools/Makefile
index ec57efcb339c..c3eeeff1fdf4 100644
--- a/graphics/exrtools/Makefile
+++ b/graphics/exrtools/Makefile
@@ -37,27 +37,10 @@ MAN1= exrblur.1 exrchr.1 exricamtm.1 exrnlm.1 exrnormalize.1 \
exrpptm.1 exrstats.1 exrtools.1 exrtopng.1 jpegtoexr.1 \
pngtoexr.1 ppmtoexr.1
-.include <bsd.port.pre.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's|<values\.h>|<float.h>|' \
${WRKSRC}/src/exrnormalize.c \
${WRKSRC}/src/exrpptm.c \
${WRKSRC}/src/exrstats.c
-.if ${OSVERSION} < 500000
- @${REINPLACE_CMD} -e 's|stdint\.h|inttypes.h|' \
- ${WRKSRC}/src/exrblur.c \
- ${WRKSRC}/src/exrchr.c \
- ${WRKSRC}/src/exrnlm.c \
- ${WRKSRC}/src/exrnormalize.c \
- ${WRKSRC}/src/exrpptm.c \
- ${WRKSRC}/src/ppmtoexr.c \
- ${WRKSRC}/src/exricamtm.c \
- ${WRKSRC}/src/jpeginput.h \
- ${WRKSRC}/src/pngoutput.h \
- ${WRKSRC}/src/pnginput.h
- @${REINPLACE_CMD} -e 's|inttypes\.h|sys/types.h|' \
- ${WRKSRC}/src/ppmtoexr.c
-.endif
-
-.include <bsd.port.post.mk>
+
+.include <bsd.port.mk>