Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x11/3ddesktop: Fix build with graphics/imlib2 1.12.1
- Add license - Put manpages in ${PREFIX}/share - Pet portlint, portclippy, portfmt and Q/A check Add minimal support to `pkg-config imlib2`; imlib2-config has been dropped since imlib2-1.7.5. PR: 276427
- Loading branch information
1 parent
af0d94a
commit 429bc46
Showing
4 changed files
with
63 additions
and
14 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
Add minimal support to `pkg-config imlib2`; imlib2-config has been | ||
dropped since imlib2-1.7.5. | ||
|
||
--- configure.orig 2005-06-26 14:22:29 UTC | ||
+++ configure | ||
@@ -8112,22 +8112,20 @@ fi | ||
echo "${ECHO_T}no" >&6 | ||
fi | ||
|
||
-if test "$IMLIB2_CONFIG_IN_PATH" != yes; then | ||
- echo "------- ERROR -------" | ||
- echo "The imlib2-config development script was not found in your execute path." | ||
- echo "You may have imlib2 installed somewhere not covered by your path." | ||
- echo "" | ||
- echo "If this is the case make sure you have the packages installed, AND" | ||
- echo "that the imlib2-config script is in your execute path (see your" | ||
- echo "shell's manual page on setting the \$PATH environment variable)." | ||
- echo "---------------------" | ||
- { { echo "$as_me:$LINENO: error: Fatal Error: no imlib2-config detected." >&5 | ||
-echo "$as_me: error: Fatal Error: no imlib2-config detected." >&2;} | ||
- { (exit 1); exit 1; }; } | ||
- exit; | ||
+if test "$IMLIB2_CONFIG_IN_PATH" = yes; then | ||
+ imlib2_cflags=`imlib2-config --cflags` | ||
+ imlib2_libs=`imlib2-config --libs` | ||
+else | ||
+ if pkg-config imlib2; then | ||
+ imlib2_cflags=`pkg-config imlib2 --cflags` | ||
+ imlib2_libs=`pkg-config imlib2 --libs` | ||
+ else | ||
+ { { echo "$as_me:$LINENO: error: Fatal Error: no imlib2 detected." >&5 | ||
+ echo "$as_me: error: Fatal Error: no imlib2 detected." >&2;} | ||
+ { (exit 1); exit 1; }; } | ||
+ exit; | ||
+ fi | ||
fi | ||
-imlib2_cflags=`imlib2-config --cflags` | ||
-imlib2_libs=`imlib2-config --libs` | ||
|
||
|
||
|
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