SOURCES: opal-build.patch (NEW) - don't use info from opal.pc while opal is...

sls sls at pld-linux.org
Wed Nov 5 18:06:43 CET 2008


Author: sls                          Date: Wed Nov  5 17:06:43 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- don't use info from opal.pc while opal is not installed

---- Files affected:
SOURCES:
   opal-build.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/opal-build.patch
diff -u /dev/null SOURCES/opal-build.patch:1.1
--- /dev/null	Wed Nov  5 18:06:44 2008
+++ SOURCES/opal-build.patch	Wed Nov  5 18:06:37 2008
@@ -0,0 +1,19 @@
+--- opal-3.4.2/samples/simple/Makefile.orig	2008-11-05 17:42:13.403269358 +0100
++++ opal-3.4.2/samples/simple/Makefile	2008-11-05 17:58:28.336264433 +0100
+@@ -53,13 +53,13 @@
+ endif
+ # Get required flags from library
+ 
+-CFLAGS += $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config $(PKG_FLAGS) --cflags opal)
+-LDFLAGS += $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config $(PKG_FLAGS) --libs opal)
++CFLAGS += 
++LDFLAGS += 
+ 
+ 
+ # This part is we like to be tidy and put all the build products
+ # in a sub-directory of a name specific to platform type.
+-OBJDIR = $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config $(PKG_FLAGS) --variable=objdir opal)
++OBJDIR = obj
+ 
+ vpath	%.o   $(OBJDIR)
+ 
================================================================


More information about the pld-cvs-commit mailing list