1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Add a hunk to patch configure-script to not add any X11 libraries to

the linker-list explicitly, using only what QT4 libraries drag in
themselves.

In particular, this gets rid of dependency on -lXmu and -lXi, which
prevented the port from building in the "clean room" of tinderbox. No
revision bump, because the official package was failing to build anyway.

Reported by:	pav@
This commit is contained in:
Mikhail Teterin 2012-05-17 19:38:12 +00:00
parent b8b76a83c2
commit 264ebfd79a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296858

View File

@ -1,5 +1,5 @@
--- configure.orig 2009-09-20 05:28:22.000000000 -0400
+++ configure 2009-09-20 14:16:07.000000000 -0400
--- configure 2009-09-28 17:29:14.000000000 -0400
+++ configure 2012-05-17 15:32:33.000000000 -0400
@@ -4867,9 +4867,9 @@
goodsvn="bad";
elif test $SVN_MAJOR -eq 1 -a $SVN_MINOR -le 3; then
@ -53,3 +53,15 @@
QT_LIBS="-L$QT_LIBPATH -lQt3Support -lQtGui -lQtNetwork -lQtCore"
;;
esac
@@ -6888,11 +6888,6 @@
QT_INCLUDES="$QT_INCLUDES -I$x_includes"
fi
- if test x$x_libraries != x; then
- QT_LIBS="$QT_LIBS -L$x_libraries $X_PRE_LIBS -lX11 -lXext -lXmu -lXt"
- QT_LIBS="$QT_LIBS -lXi $X_EXTRA_LIBS"
- fi
-
;;
esac