summaryrefslogtreecommitdiff
path: root/graphics/libgexiv2/patches/patch-aa
blob: af896a0b9d6d0f1e25c686f0c899cd5971e479b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.1.1.1 2010/11/15 18:55:43 gls Exp $

--- Makefile.orig	2010-09-10 21:52:54.000000000 +0000
+++ Makefile
@@ -159,7 +159,7 @@ $(VAPI_FILE): $(EXPANDED_VAPI_INPUT) $(D
 	vapigen --library=$(PKGNAME) --metadata=vapi/$(PKGNAME).metadata vapi/$(PKGNAME).gi
 
 $(PC_FILE) : $(PC_INPUT) Makefile $(CONFIG_IN)
-	m4 '--define=_VERSION_=$(VERSION)' '--define=_PREFIX_=$(PREFIX)' $< > $@
+	m4 '-D_VERSION_=$(VERSION)' '-D_PREFIX_=$(PREFIX)' $< > $@
 
 $(EXPANDED_OBJ_FILES): $(BUILD_DIR)/%.o: gexiv2/%.cpp $(EXPANDED_HEADER_FILES) $(CONFIG_IN) Makefile
 	@pkg-config --print-errors --exists '$(EXT_PKG_VERSIONS)'