Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Sep 2011 14:30:56 GMT
From:      Norbert Koch <nkoch@demig.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/160542: [PATCH] textproc/tinyxml
Message-ID:  <201109071430.p87EUuv9028121@red.freebsd.org>
Resent-Message-ID: <201109071440.p87Ee7U6006054@freefall.freebsd.org>

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

>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:



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