mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 05:10:29 -04:00
an zeising, kwm, miwi, bapt, eadler production: Xorg 7.7 Starring: xserver 1.12.4 (new xorg only) Mesa 8.0.4, including libGL, libGLU and dri (new xorg only) libX11 1.5.0 libxcb 1.9 libdrm 2.4.42 (new xorg only) freeglut 2.8.1 Also starring: Updates to drivers and other libraries and utilities Additional notes: Change pkgconf to be a build dependency. Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use this. Trim makefile headers. Take maintanership of x11/xcb-proto, ok'd by ashish. If you are running WITH_NEW_XORG=, you need to rebuild all installed drivers, see UPDATING for more information. Various fixes to make ports compile. PR: ports/177942 Exp-run by: miwi Approved by: portmgr (miwi) Thanks to all who helped testing!
15 lines
386 B
C++
15 lines
386 B
C++
--- xmkmf.cpp.orig 2012-03-08 06:47:32.000000000 +0100
|
|
+++ xmkmf.cpp 2013-03-17 22:53:14.000000000 +0100
|
|
@@ -64,3 +64,12 @@
|
|
imake $imake_defines $args
|
|
;;
|
|
esac
|
|
+
|
|
+if [ -f "Makefile" ];then
|
|
+ if [ -n "$CC" ];then
|
|
+ sed -i "" -e "s| CC = cc| CC = $CC|" Makefile
|
|
+ fi
|
|
+ if [ -n "$CXX" ];then
|
|
+ sed -i "" -e "s| CXX = c++| CXX = $CXX|" Makefile
|
|
+ fi
|
|
+fi
|