ports/173798: [PATCH] audio/hawkvoice optionsng
Chris Petrik
c.petrik.sosa at gmail.com
Wed Nov 21 22:30:02 UTC 2012
>Number: 173798
>Category: ports
>Synopsis: [PATCH] audio/hawkvoice optionsng
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Nov 21 22:30:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Chris Petrik
>Release:
>Organization:
na
>Environment:
>Description:
OptionsNG Changes
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: hawkvoice/Makefile
===================================================================
--- hawkvoice/Makefile (revision 305743)
+++ hawkvoice/Makefile (working copy)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: hawkvoice
-# Date created: 2006-03-05
-# Whom: Jose Alonso Cardenas Marquez <acardenas at bsd.org.pe>
-#
+# Created by: Jose Alonso Cardenas Marquez <acardenas at bsd.org.pe>
# $FreeBSD$
-#
PORTNAME= hawkvoice
PORTVERSION= 0.91
@@ -27,15 +23,15 @@
WRKSRC= ${WRKDIR}/HawkVoiceDI/src
-OPTIONS= OPTIMIZATION "Enable optimization" off
+OPTIONS_DEFINE= OPTIMIZED_CFLAGS
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
CFLAGS+= -fPIC -DPIC
.endif
-.if defined(WITH_OPTIMIZATION)
+.if ${PORT_OPTIONS:MOPTIMIZE_CFLAGS}
CFLAGS+= -funroll-all-loops -ffast-math -fomit-frame-pointer -D_GNU_SOURCE -D_REENTRANT
.endif
@@ -50,4 +46,4 @@
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list