aboutsummaryrefslogtreecommitdiff
path: root/net/relayd/Makefile
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2012-12-31 10:49:52 +0000
committerMartin Matuska <mm@FreeBSD.org>2012-12-31 10:49:52 +0000
commit9b3f7519c31c023890ef01e36365dc9cbb7545dc (patch)
tree90a777fd8234cb4f3af8a4c1f0fdfbab5c7571d4 /net/relayd/Makefile
parentead143c069f5b1ee866d0873586b0604674751db (diff)
downloadports-9b3f7519c31c023890ef01e36365dc9cbb7545dc.tar.gz
ports-9b3f7519c31c023890ef01e36365dc9cbb7545dc.zip
Notes
Diffstat (limited to 'net/relayd/Makefile')
-rw-r--r--net/relayd/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/net/relayd/Makefile b/net/relayd/Makefile
index 3d9977449cc0..1d899d5e4125 100644
--- a/net/relayd/Makefile
+++ b/net/relayd/Makefile
@@ -1,7 +1,4 @@
-# New ports collection makefile for: relayd
-# Date created: 5 Jun 2007
-# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
-#
+# Created by: Jun Kuriyama <kuriyama@FreeBSD.org>
# $FreeBSD$
PORTNAME= relayd
@@ -33,11 +30,12 @@ MAKE_ARGS+= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man
USERS= _relayd
GROUPS= _relayd
-OPTIONS= LIBEVENT_STATIC "Build with static libevent" Off
+OPTIONS_DEFINE= LIBEVENT_STATIC
+LIBEVENT_STATIC_DESC= Build with static libevent
.include <bsd.port.pre.mk>
-.if defined(WITH_LIBEVENT_STATIC)
+.if ${PORT_OPTIONS:MLIBEVENT_STATIC}
BUILD_DEPENDS= ${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent
MAKE_ARGS+= LIBEVENT=${LOCALBASE}/lib/libevent.a
.else