aboutsummaryrefslogtreecommitdiff
path: root/net/pmf
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-08-17 01:31:13 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-08-17 01:31:13 +0000
commitba5d4a9a5cf2e4e16ec23bbfb37e24cf8a13f952 (patch)
treeebabb6a934a1b276096a45ac30259ec308a90740 /net/pmf
parent3ed58afe47f55a46b51e2f2d845ba4c22a2a1eb5 (diff)
downloadports-ba5d4a9a5cf2e4e16ec23bbfb37e24cf8a13f952.tar.gz
ports-ba5d4a9a5cf2e4e16ec23bbfb37e24cf8a13f952.zip
Notes
Diffstat (limited to 'net/pmf')
-rw-r--r--net/pmf/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/pmf/Makefile b/net/pmf/Makefile
index 108883038576..a9e240645529 100644
--- a/net/pmf/Makefile
+++ b/net/pmf/Makefile
@@ -20,6 +20,12 @@ SUB_FILES= pmfrc.default
OPTIONS_DEFINE= DOCS EXAMPLES
+.include <bsd.port.pre.mk>
+
+.if !exists(/usr/lib/libreadline.so)
+BROKEN= Does not build with modern readline from ports
+.endif
+
post-build:
@${LN} -sf .pmfrc ${WRKSRC}/examples/dot.pmfrc
@@ -34,4 +40,4 @@ do-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>