aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-02-22 01:54:12 +0800
committersem <sem@FreeBSD.org>2005-02-22 01:54:12 +0800
commitd87377d24d9d536fc21687d2f0cefaf657f50249 (patch)
tree5e088e37388edc1f1c2ef26bbd0efa7a68d2f5c0 /net-mgmt
parent305f1c3304f797b6ab91860aa279a3adfb4f6a84 (diff)
downloadfreebsd-ports-gnome-d87377d24d9d536fc21687d2f0cefaf657f50249.tar.gz
freebsd-ports-gnome-d87377d24d9d536fc21687d2f0cefaf657f50249.tar.zst
freebsd-ports-gnome-d87377d24d9d536fc21687d2f0cefaf657f50249.zip
- Fix OPTIONS with OPENSSL problem
PR: ports/77868 Submitted by: maintainer
Diffstat (limited to 'net-mgmt')
-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