From 7503c81af4538826f1ab091eadc2e379ce85381b Mon Sep 17 00:00:00 2001 From: Sergey Matveychuk Date: Mon, 21 Feb 2005 17:54:12 +0000 Subject: - Fix OPTIONS with OPENSSL problem PR: ports/77868 Submitted by: maintainer --- net-mgmt/netustad/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'net-mgmt') 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 -- cgit v1.2.3