ports/160542: [PATCH] textproc/tinyxml

Norbert Koch nkoch at demig.de
Wed Sep 7 14:40:08 UTC 2011


>Number:         160542
>Category:       ports
>Synopsis:       [PATCH] textproc/tinyxml
>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 Sep 07 14:40:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Norbert Koch
>Release:        8.1
>Organization:
demig Prozessautomatisierung GmbH
>Environment:
>Description:
Add knobs for debug build and STL usage.
>How-To-Repeat:

>Fix:
--- /usr/ports/textproc/tinyxml/Makefile.orig	Tue Jul 27 11:23:53 2010
+++ /usr/ports/textproc/tinyxml/Makefile	Wed Sep 07 16:18:55 2011
@@ -21,6 +21,15 @@
 SHLIB_MAJOR=	3
 PLIST_SUB=	SHLIB_MAJOR="${SHLIB_MAJOR}"
 
+OPTIONS=	DEBUG		"Debug flags"	off \
+		STL		"Use STL"       on
+
+.include <bsd.port.options.mk>
+
+.if defined (WITH_STL)
+CFLAGS+= -DTIXML_USE_STL
+.endif
+
 .if defined(NOPROFILE) || defined(NO_PROFILE)
 PLIST_SUB+=	PROFILE="@comment "
 .else


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



More information about the freebsd-ports-bugs mailing list