summaryrefslogtreecommitdiff
path: root/graphics/libgexiv2/patches/patch-aa
blob: 58b21cf4a351065b131acec3edc06b95788402b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.2 2012/04/11 11:34:59 drochner Exp $

--- Makefile.orig	2012-03-28 22:41:52.000000000 +0000
+++ Makefile
@@ -162,7 +162,7 @@ $(VAPI_FILE): $(EXPANDED_VAPI_INPUT) $(D
 	vapigen --library=$(PKGNAME) --metadatadir=vapi 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)'