1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
Description: Fix FTBFS on mipsel* due to custom library search paths.
This patch removes library search -L/usr/lib and include paths
defined by upstream. Since all the libraries and headers needed are
available in default path these flags are redundant also since
/usr/lib may have different purpose on various architecture like
mips* it causes FTBFS. Thanks to YunQiang Su for bringing this up.
Author: Vasudev Kamath <kamathvasudev@gmail.com>
Forwarded: not-needed
Last-Updated: 2022-10-13
Bug-Debian: https://bugs.debian.org/722765
--- a/config.mk 2022-10-13 22:49:16.000000000 +0200
+++ b/config.mk 2022-10-13 22:51:24.086067168 +0200
@@ -7,9 +7,6 @@ VERSION = 6.4
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
-X11INC = /usr/X11R6/include
-X11LIB = /usr/X11R6/lib
-
# Xinerama, comment if you don't want it
XINERAMALIBS = -lXinerama
XINERAMAFLAGS = -DXINERAMA
@@ -22,8 +19,8 @@ FREETYPEINC = /usr/include/freetype2
#MANPREFIX = ${PREFIX}/man
# includes and libs
-INCS = -I${X11INC} -I${FREETYPEINC}
-LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
+INCS = -I${FREETYPEINC}
+LIBS = -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
# flags
CPPFLAGS += -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
|