mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-14 11:03:49 +02:00
11 lines
380 B
Diff
11 lines
380 B
Diff
--- a/sdl-config.in
|
|
+++ b/sdl-config.in
|
|
@@ -31,6 +31,8 @@
|
|
|
|
case $1 in
|
|
--prefix=*)
|
|
+ [ "${libdir#${prefix}}" = "${libdir}" ] || libdir="${optarg}/${libdir#${prefix}}"
|
|
+ [ "${includedir#${prefix}}" = "${includedir}" ] || includedir="${optarg}/${includedir#${prefix}}"
|
|
prefix=$optarg
|
|
if test $exec_prefix_set = no ; then
|
|
exec_prefix=$optarg
|