From 01e416cc78f3a1d38d1f2e8c3252696f653f040a Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Fri, 10 Oct 2008 16:12:20 +0200 Subject: [PATCH] 01-unnecessary-libs.patch: Do not add any X related libs at all. On Debian, we don't need to link enblend/enfuse against any X libs. --- .../patches-repack/01-unnecessary-libs.patch | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/debian/patches-repack/01-unnecessary-libs.patch b/debian/patches-repack/01-unnecessary-libs.patch index 6579a5d..c27fcb0 100644 --- a/debian/patches-repack/01-unnecessary-libs.patch +++ b/debian/patches-repack/01-unnecessary-libs.patch @@ -1,12 +1,17 @@ diff a/m4/ax_check_glut.m4 b/m4/ax_check_glut.m4 --- a/m4/ax_check_glut.m4 +++ b/m4/ax_check_glut.m4 -@@ -29,7 +29,7 @@ - # If X is present, assume GLUT depends on it. - # - if test "X${no_x}" != "Xyes"; then +@@ -25,13 +25,6 @@ + GLUT_CFLAGS=${GLU_CFLAGS} + GLUT_LIBS=${GLU_LIBS} + +- # +- # If X is present, assume GLUT depends on it. +- # +- if test "X${no_x}" != "Xyes"; then - GLUT_LIBS="${X_PRE_LIBS} -lXmu -lXi ${X_EXTRA_LIBS} ${GLUT_LIBS}" -+ GLUT_LIBS="${X_PRE_LIBS} ${X_EXTRA_LIBS} ${GLUT_LIBS}" - fi - +- fi +- AC_LANG_PUSH(C) + + ax_save_CPPFLAGS="${CPPFLAGS}" -- 2.30.2