aboutsummaryrefslogtreecommitdiff
path: root/comms/mgetty+sendfax/Makefile
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
commitbb271f0bf7b513a23a31da4ec8819b113ebf4587 (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /comms/mgetty+sendfax/Makefile
parent29879aded766da253313579a3503ff5e15026355 (diff)
downloadports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.tar.gz
ports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.zip
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?
Notes
Notes: svn path=/head/; revision=394778
Diffstat (limited to 'comms/mgetty+sendfax/Makefile')
-rw-r--r--comms/mgetty+sendfax/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/comms/mgetty+sendfax/Makefile b/comms/mgetty+sendfax/Makefile
index 8af7130bee2d..d568c1886611 100644
--- a/comms/mgetty+sendfax/Makefile
+++ b/comms/mgetty+sendfax/Makefile
@@ -28,15 +28,9 @@ OPTIONS_DEFINE= FIDO
FIDO_DESC= Enable FIDO EMSI support
-.include <bsd.port.options.mk>
-
CFLAGS+= -DAUTO_PPP
-.if ${PORT_OPTIONS:MFIDO}
-CFLAGS+= -DFIDO
-.endif
-
-.include <bsd.port.pre.mk>
+FIDO_CFLAGS= -DFIDO
pre-install:
@(cd ${WRKSRC}/doc; ${MAKE} manpages)
@@ -56,4 +50,4 @@ post-install:
${INSTALL_SCRIPT} ${WRKDIR}/mgettycfg ${STAGEDIR}${PREFIX}/bin
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mgetty+sendfax/faxq-helper
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>