* [gentoo-commits] gentoo-x86 commit in app-text/blahtexml/files: blahtexml-0.9-Makefile.patch
@ 2013-12-26 14:40 Julian Ospald (hasufell)
0 siblings, 0 replies; only message in thread
From: Julian Ospald (hasufell) @ 2013-12-26 14:40 UTC (permalink / raw
To: gentoo-commits
hasufell 13/12/26 14:40:45
Modified: blahtexml-0.9-Makefile.patch
Log:
respect PKG_CONFIG wrt #478514, add ~x86
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Revision Changes Path
1.2 app-text/blahtexml/files/blahtexml-0.9-Makefile.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/blahtexml/files/blahtexml-0.9-Makefile.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/blahtexml/files/blahtexml-0.9-Makefile.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/blahtexml/files/blahtexml-0.9-Makefile.patch?r1=1.1&r2=1.2
Index: blahtexml-0.9-Makefile.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/blahtexml/files/blahtexml-0.9-Makefile.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- blahtexml-0.9-Makefile.patch 10 Jul 2013 11:45:01 -0000 1.1
+++ blahtexml-0.9-Makefile.patch 26 Dec 2013 14:40:45 -0000 1.2
@@ -2,22 +2,24 @@
Respect CXX and CC
Replace CFLAGS with CXXFLAGS where needed
Add LDFLAGS
---- makefile.old 2010-04-07 18:45:30.000000000 +0200
-+++ makefile 2012-08-15 23:48:03.218394478 +0200
-@@ -93,35 +93,39 @@
+
+--- a/makefile
++++ b/makefile
+@@ -93,35 +93,40 @@
$(BINDIR_XMLIN)/InputSymbolTranslation.o: InputSymbolTranslation.cpp InputSymbolTranslation.inc
-CFLAGS = -O2
++PKG_CONFIG ?= pkg-config
+CFLAGS ?= -O2
VPATH = Source:Source/BlahtexCore:Source/BlahtexXMLin
INCLUDES=-I. -ISource -ISource/BlahtexCore -ISource/BlahtexXMLin
-+CXXFLAGS += $(shell pkg-config --cflags xerces-c)
++CXXFLAGS += $(shell $(PKG_CONFIG) --cflags xerces-c)
+
-+XERCES_LIB = $(shell pkg-config --libs xerces-c)
++XERCES_LIB = $(shell $(PKG_CONFIG) --libs xerces-c)
+
$(BINDIR)/%.o:%.cpp
- $(CXX) $(INCLUDES) $(CFLAGS) -c $< -o $@
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-12-26 14:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-26 14:40 [gentoo-commits] gentoo-x86 commit in app-text/blahtexml/files: blahtexml-0.9-Makefile.patch Julian Ospald (hasufell)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox