svn commit: r320965 - head/mail/spamdyke
Bryan Drewery
bdrewery at FreeBSD.org
Fri Jun 14 21:40:03 UTC 2013
Author: bdrewery
Date: Fri Jun 14 21:40:02 2013
New Revision: 320965
URL: http://svnweb.freebsd.org/changeset/ports/320965
Log:
- Use new options helpers
- Add missing DEBUG_EXCESSIVE_DESC
Modified:
head/mail/spamdyke/Makefile
Modified: head/mail/spamdyke/Makefile
==============================================================================
--- head/mail/spamdyke/Makefile Fri Jun 14 21:13:41 2013 (r320964)
+++ head/mail/spamdyke/Makefile Fri Jun 14 21:40:02 2013 (r320965)
@@ -25,26 +25,13 @@ USE_GCC= any
OPTIONS_DEFINE= TLS DEBUG DEBUG_EXCESSIVE DOCS
OPTIONS_DEFAULT= TLS
DEBUG_DESC= Enable debugging output
+DEBUG_EXCESSIVE_DESC= Enable excessive debugging output
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MTLS}
-CONFIGURE_ARGS+= --enable-tls
-.else
-CONFIGURE_ARGS+= --disable-tls
-.endif
+TLS_CONFIGURE_ENABLE= tls
+DEBUG_CONFIGURE_ENABLE= debug-output
+DEBUG_EXCESSIVE_CONFIGURE_ENABLE= excessive-output
-.if ${PORT_OPTIONS:MDEBUG}
-CONFIGURE_ARGS+= --with-debug-output
-.else
-CONFIGURE_ARGS+= --without-debug-output
-.endif
-
-.if ${PORT_OPTIONS:MDEBUG_EXCESSIVE}
-CONFIGURE_ARGS+= --with-excessive-output
-.else
-CONFIGURE_ARGS+= --without-excessive-output
-.endif
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= Changelog.txt FAQ.html GNUGPL.txt INSTALL.txt \
More information about the svn-ports-all
mailing list