ports/64672: [MAINTAINER] devel/ptypes: fix default options

Sergey Matveychuk sem at ciam.ru
Wed Mar 24 22:50:21 UTC 2004


>Number:         64672
>Category:       ports
>Synopsis:       [MAINTAINER] devel/ptypes: fix default options
>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:   Wed Mar 24 14:50:21 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Matveychuk
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD Current.sem-home.ciam.ru 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #5: Fri Mar 12 03:47:38 MSK 2004
>Description:
[DESCRIBE CHANGES]

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- ptypes-1.9.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/ptypes.orig/Makefile /usr/ports/devel/ptypes/Makefile
--- /usr/ports/devel/ptypes.orig/Makefile	Thu Mar 25 01:45:58 2004
+++ /usr/ports/devel/ptypes/Makefile	Thu Mar 25 01:48:22 2004
@@ -23,9 +23,12 @@
 
 OPTIONS=	DEBUG "Build debug version" off \
 		OPTIMIZED "Enable -O2 optimization" on
-WITH_OPTIMIZED?=	yes
 
 .include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_OPTIMIZED)
+WITH_OPTIMIZED=	yes
+.endif
 
 .if defined(WITH_DEBUG)
 DEBUG_FLAGS=	-DDEBUG
--- ptypes-1.9.0.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list