summaryrefslogtreecommitdiff
path: root/net-mgmt/netustad
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2005-02-21 17:54:12 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2005-02-21 17:54:12 +0000
commit7503c81af4538826f1ab091eadc2e379ce85381b (patch)
treef3bc1e72e4ee270944ac23548d3fe4e2ac2fb8da /net-mgmt/netustad
parentUpdate to version 2.1.12 (diff)
- Fix OPTIONS with OPENSSL problem
PR: ports/77868 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=129502
Diffstat (limited to 'net-mgmt/netustad')
-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