aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/netustad/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/netustad/Makefile')
-rw-r--r--net-mgmt/netustad/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/net-mgmt/netustad/Makefile b/net-mgmt/netustad/Makefile
index c0326010ed59..70996c328a77 100644
--- a/net-mgmt/netustad/Makefile
+++ b/net-mgmt/netustad/Makefile
@@ -7,6 +7,7 @@
PORTNAME= netustad
PORTVERSION= 0.3.1
+PORTREVISION= 1
CATEGORIES= net-mgmt security
MASTER_SITES= http://www.enderunix.org/netustad/
@@ -21,7 +22,15 @@ USE_GETTEXT= yes
GNU_CONFIGURE= yes
OPTIONS= SSL "Use netUstad with SSL support" on
-.if defined(WITH_SSL)
+PORT_DBDIR?= /var/db/ports
+LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
+OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options
+
+.if exists(${OPTIONSFILE})
+.include "${OPTIONSFILE}"
+.endif
+
+.if !defined(WITHOUT_SSL)
USE_OPENSSL= yes
.else
CONFIGURE_ARGS+= --without-ssl