aboutsummaryrefslogtreecommitdiff
path: root/security/libparanoia
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-12-13 20:54:20 +0000
committerPatrick Li <pat@FreeBSD.org>2002-12-13 20:54:20 +0000
commit1bc0121da615e021b7c2bdbf2b3ec9d8907d7987 (patch)
tree4fbc6738dc08a5f82090586004fcd26d85ca64df /security/libparanoia
parenteea8bec652bb3e2752892114cc840a872ac038d3 (diff)
downloadports-1bc0121da615e021b7c2bdbf2b3ec9d8907d7987.tar.gz
ports-1bc0121da615e021b7c2bdbf2b3ec9d8907d7987.zip
Notes
Diffstat (limited to 'security/libparanoia')
-rw-r--r--security/libparanoia/Makefile9
-rw-r--r--security/libparanoia/files/vsnprintf-current.patch (renamed from security/libparanoia/files/patch-ac)0
2 files changed, 8 insertions, 1 deletions
diff --git a/security/libparanoia/Makefile b/security/libparanoia/Makefile
index c6065de59ec4..bad4f310fcf5 100644
--- a/security/libparanoia/Makefile
+++ b/security/libparanoia/Makefile
@@ -24,4 +24,11 @@ BROKEN= You need to have libc sources installed in /usr/src/lib/libc \
before compiling.
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500039
+post-patch:
+ @(cd ${_DISTDIR};${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/vsnprintf-current.patch)
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/libparanoia/files/patch-ac b/security/libparanoia/files/vsnprintf-current.patch
index c6fb894ba86c..c6fb894ba86c 100644
--- a/security/libparanoia/files/patch-ac
+++ b/security/libparanoia/files/vsnprintf-current.patch