forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gnustep-libs/sope: fix mysql compilation, bug #566138
Bug report and patch by Russell Knighton <[email protected]> Package-Manager: portage-2.2.27
- Loading branch information
Showing
3 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- a/sope-gdl1/MySQL/GNUmakefile.preamble 2015-09-07 17:52:21.244429620 +0100 | ||
+++ b/sope-gdl1/MySQL/GNUmakefile.preamble 2015-09-07 17:54:16.586770809 +0100 | ||
@@ -33,12 +33,12 @@ | ||
|
||
MySQL_BUNDLE_LIBS += \ | ||
-lGDLAccess \ | ||
- `mysql_config --libs` | ||
+ $(shell mysql_config --libs) | ||
|
||
MySQLD_BUNDLE_LIBS += \ | ||
-lGDLAccess \ | ||
-lEOControl \ | ||
- `mysql_config --libs` | ||
+ $(shell mysql_config --libs) | ||
|
||
gdltest_TOOL_LIBS += \ | ||
-lGDLAccess \ | ||
@@ -46,14 +46,15 @@ | ||
|
||
# set compile flags and go | ||
|
||
-ADDITIONAL_CFLAGS += `mysql_config --cflags` | ||
+ADDITIONAL_CFLAGS += $(shell mysql_config --cflags) | ||
|
||
ADDITIONAL_INCLUDE_DIRS += \ | ||
-I../GDLAccess -I.. -I$(SOPE_ROOT) | ||
|
||
ADDITIONAL_INCLUDE_DIRS += \ | ||
-I$(SOPE_ROOT)/sope-core/ \ | ||
- -I$(SOPE_ROOT)/sope-core/NGExtensions | ||
+ -I$(SOPE_ROOT)/sope-core/NGExtensions \ | ||
+ $(shell mysql_config --cflags) | ||
|
||
|
||
# dependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters