aboutsummaryrefslogtreecommitdiff
path: root/multimedia/cuse4bsd-kmod
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-11 12:58:40 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-11 12:58:40 +0000
commit6850c2351051c685e2d85b2cbd7dc7bb4525e7df (patch)
tree2ec79ba0438e788ff8ca417ef033f5706959398e /multimedia/cuse4bsd-kmod
parent7d7e088c9d0165dc80ef649c781b4db1d536a00e (diff)
downloadports-6850c2351051c685e2d85b2cbd7dc7bb4525e7df.tar.gz
ports-6850c2351051c685e2d85b2cbd7dc7bb4525e7df.zip
Notes
Diffstat (limited to 'multimedia/cuse4bsd-kmod')
-rw-r--r--multimedia/cuse4bsd-kmod/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/multimedia/cuse4bsd-kmod/Makefile b/multimedia/cuse4bsd-kmod/Makefile
index 698595747307..96790e15cca8 100644
--- a/multimedia/cuse4bsd-kmod/Makefile
+++ b/multimedia/cuse4bsd-kmod/Makefile
@@ -26,17 +26,13 @@ PLIST_SUB= KMODNAME="${KMODNAME}" \
INCLUDEDIR="${INCLUDEDIR}" \
MANDIR="${MANDIR}"
-OPTIONS= DEBUG "Build with debugging support" Off
+OPTIONS_DEFINE= DEBUG
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 800000
-IGNORE= requires FreeBSD 8.0-RELEASE or later
-.endif
+.include <bsd.port.options.mk>
MAKE_ARGS+=" PTHREAD_LIBS=${PTHREAD_LIBS}"
-.if defined(WITH_DEBUG)
+.if ${PORT_OPTIONS:MDEBUG}
MAKE_ARGS+=" HAVE_DEBUG=YES"
.endif
@@ -45,4 +41,4 @@ do-install:
${INSTALL_KLD} ${WRKSRC}/${KMODNAME}.ko ${KMODDIR}
kldxref ${KMODDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>