Bug 168751 - databases/ipa_sdb new options framework support
Summary: databases/ipa_sdb new options framework support
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sylvio Cesar Teixeira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-06 10:20 UTC by Andrey Simonenko
Modified: 2012-06-08 22:20 UTC (History)
0 users

See Also:


Attachments
file.diff (1.16 KB, patch)
2012-06-06 10:20 UTC, Andrey Simonenko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Simonenko 2012-06-06 10:20:10 UTC
Please update database/ipa_sdb to support new options framework.
Comment 1 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2012-06-06 18:07:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sylvio

I'll take it.
Comment 2 mickael.maillot 2012-06-07 12:58:49 UTC
warning: NO_OPTITONS_SORT => NO_OPTIONS_SORT
Comment 3 Andrey Simonenko 2012-06-07 13:13:14 UTC
On Thu, Jun 07, 2012 at 01:58:49PM +0200, Mickael Maillot wrote:
> warning: NO_OPTITONS_SORT => NO_OPTIONS_SORT

Thanks.

Corrected NO_OPTIONS_SORT variable name:

diff -ruN ipa_sdb.orig/Makefile ipa_sdb/Makefile
--- ipa_sdb.orig/Makefile	2011-02-14 11:36:59.000000000 +0200
+++ ipa_sdb/Makefile	2012-06-07 15:11:51.000000000 +0300
@@ -19,26 +19,29 @@
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 
-OPTIONS=	AUTORULES "Enable dynamic rules support" on \
-		RULES "Enable static rules support" on \
-		LIMITS "Enable limits support" on \
-		THRESHOLDS "Enable thresholds support" on
+NO_OPTIONS_SORT=	yes
+OPTIONS_DEFINE=		AUTORULES RULES LIMITS THRESHOLDS
+OPTIONS_DEFAULT=	AUTORULES RULES LIMITS THRESHOLDS
+AUTORULES_DESC=		Enable dynamic rules support
+RULES_DESC=		Enable static rules support
+LIMITS_DESC=		Enable limits support
+THRESHOLDS_DESC=	Enable thresholds support
 
 .include <bsd.port.options.mk>
 
-.if defined(WITHOUT_AUTORULES)
+.if empty(PORT_OPTIONS:MAUTORULES)
 CONFIGURE_ARGS+=	--disable-autorules
 .endif
 
-.if defined(WITHOUT_RULES)
+.if empty(PORT_OPTIONS:MRULES)
 CONFIGURE_ARGS+=	--disable-rules
 .endif
 
-.if defined(WITHOUT_LIMITS)
+.if empty(PORT_OPTIONS:MLIMITS)
 CONFIGURE_ARGS+=	--disable-limits
 .endif
 
-.if defined(WITHOUT_THRESHOLDS)
+.if empty(PORT_OPTIONS:MTHRESHOLDS)
 CONFIGURE_ARGS+=	--disable-thresholds
 .endif
Comment 4 dfilter service freebsd_committer freebsd_triage 2012-06-08 22:15:18 UTC
sylvio      2012-06-08 21:15:02 UTC

  FreeBSD ports repository

  Modified files:
    databases/ipa_sdb    Makefile 
  Log:
  - Update to support new options framework.
  
  PR:             ports/168751
  Submitted by:   Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> (maintainer)
  
  Revision  Changes    Path
  1.5       +11 -8     ports/databases/ipa_sdb/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2012-06-08 22:15:28 UTC
State Changed
From-To: open->closed

Committed. Thanks!