From: Sebastian Harl Date: Fri, 10 Oct 2008 14:12:20 +0000 (+0200) Subject: 01-unnecessary-libs.patch: Do not add any X related libs at all. X-Git-Tag: enblend-enfuse-3.2+dfsg-1~6 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=01e416cc78f3a1d38d1f2e8c3252696f653f040a;p=pkg-enblend.git 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. --- 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}"