Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Apr 2014 21:49:02 GMT
From:      Stephen Hurd <shurd@sasktel.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/188536: [Maintainer Update] comms/fllog to use *_CONFIGURE_* for knob
Message-ID:  <201404122149.s3CLn2VP009134@cgiserv.freebsd.org>
Resent-Message-ID: <201404122150.s3CLo1ZJ025044@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         188536
>Category:       ports
>Synopsis:       [Maintainer Update] comms/fllog to use *_CONFIGURE_* for knob
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 12 21:50:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Hurd
>Release:        10.0-RELEASE
>Organization:
>Environment:
FreeBSD portable 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
Change from old style .if/CONFUGRE_ARGS+=/.else to new style *_CONFIGURE_* for the knob.

No functional change.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 351133)
+++ Makefile	(working copy)
@@ -23,16 +23,11 @@
 
 NATIVE_OPT_DESC=	Enable Native Optimizations
 
-.include <bsd.port.pre.mk>
-
 PLIST_FILES=	bin/fllog \
 		share/applications/fllog.desktop \
 		share/pixmaps/fllog.xpm
 
-.if ${PORT_OPTIONS:MNATIVE_OPT}
-CONFIGURE_ARGS+=--enable-optimizations=native
-.else
-CONFIGURE_ARGS+=--enable-optimizations=none
-.endif
+NATIVE_OPT_CONFIGURE_ON=	--enable-optimizations=native
+NATIVE_OPT_CONFIGURE_OFF=	--enable-optimizations=none
 
 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404122149.s3CLn2VP009134>