summaryrefslogtreecommitdiffstats
path: root/audio-creation/vkeybd/PRE_BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'audio-creation/vkeybd/PRE_BUILD')
-rwxr-xr-xaudio-creation/vkeybd/PRE_BUILD15
1 files changed, 4 insertions, 11 deletions
diff --git a/audio-creation/vkeybd/PRE_BUILD b/audio-creation/vkeybd/PRE_BUILD
index f103e19af0..53cb9596d9 100755
--- a/audio-creation/vkeybd/PRE_BUILD
+++ b/audio-creation/vkeybd/PRE_BUILD
@@ -12,17 +12,10 @@ local TCL_VERSION=$(installed_version tcl | cut -d. -f-2) &&
sedit "s/TCL_VERSION = .*/TCL_VERSION = $TCL_VERSION/" Makefile &&
# Fix for xorg 7.x and insert $TRACK_ROOT
-if check_if_xorg_modular_libs; then
- sedit "s:XLIB = .*:XLIB = -L${TRACK_ROOT}/usr/lib -lX11:" \
- Makefile &&
- sedit "s:XINC = .*:XINC = -I${TRACK_ROOT}/usr/include:" \
- Makefile
-else
- sedit "s:XLIB = .*:XLIB = -L${TRACK_ROOT}/usr/X11R6/lib -lX11:" \
- Makefile &&
- sedit "s:XINC = .*:XINC = -I${TRACK_ROOT}/usr/X11R6/include:" \
- Makefile
-fi
+sedit "s:XLIB = .*:XLIB = -L${TRACK_ROOT}/usr/lib -lX11:" \
+ Makefile &&
+sedit "s:XINC = .*:XINC = -I${TRACK_ROOT}/usr/include:" \
+ Makefile &&
# Apply config settings
if [[ $USE_AWE == n ]]; then