pkgsrc/textproc/ezxml/patches/patch-aa
agc 3d547635d3 Import ezxml library, submitted in PR 30887 by Marcin Jessa.
ezXML is a C library for parsing XML documents inspired by simpleXML
	for PHP.  As the name implies, it's easy to use.  It's ideal for
	parsing XML configuration files or REST web service responses.  It's
	also fast and lightweight (less than 20k compiled).

	An example of how to use the ezXML library can be found in
	${PREFIX}/share/doc/ezxml
2005-08-01 00:25:04 +00:00

24 lines
600 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2005/08/01 00:25:04 agc Exp $
--- Makefile.orig 2005-07-31 21:58:10.000000000 +0200
+++ Makefile 2005-07-31 22:00:29.000000000 +0200
@@ -21,10 +21,10 @@
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-CC = gcc
+CC ?= gcc
AR = ar
RM = rm -f
-CFLAGS = -Wall -O2
+CFLAGS ?= -Wall -O2
OBJS = ezxml.o
LIB = libezxml.a
TEST = ezxmltest
@@ -59,4 +59,4 @@
$(CC) $(CFLAGS) -c -o $@ $<
clean:
- $(RM) $(OBJS) $(LIB) $(TEST) *~
\ No newline at end of file
+ $(RM) $(OBJS) $(LIB) $(TEST) *~