aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/exrtools/Makefile
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2007-10-04 09:14:50 +0800
committeredwin <edwin@FreeBSD.org>2007-10-04 09:14:50 +0800
commit7414fe7f0eb5384bcf0deaf5f4587f1c219c904e (patch)
treea8cab517854b5dc56a09107344f965b0b80bcca3 /graphics/exrtools/Makefile
parent7faae5576ef7a7d0b1ce78e75c07ea81bb83f9d7 (diff)
downloadfreebsd-ports-gnome-7414fe7f0eb5384bcf0deaf5f4587f1c219c904e.tar.gz
freebsd-ports-gnome-7414fe7f0eb5384bcf0deaf5f4587f1c219c904e.tar.zst
freebsd-ports-gnome-7414fe7f0eb5384bcf0deaf5f4587f1c219c904e.zip
Remove always-false/true conditions based on OSVERSION 500000
Diffstat (limited to 'graphics/exrtools/Makefile')
-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>