Use c++ instead of cc for linking shared library from objects generated
from C++ code. This fixes the port on -current.
This commit is contained in:
@@ -26,7 +26,8 @@ USE_LIBTOOL= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
|
||||
GLBASE="${X11BASE}" \
|
||||
CPPFLAGS="-I${X11BASE}/include"
|
||||
CPPFLAGS="-I${X11BASE}/include" \
|
||||
CC="${CXX}" REAL_CC="${CC}"
|
||||
|
||||
#If you want to try the opengl player (which doesn't seem to work)
|
||||
#comment out the following line.
|
||||
|
||||
13
graphics/smpeg/files/patch-configure
Normal file
13
graphics/smpeg/files/patch-configure
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- configure 2002/07/02 12:33:37 1.1
|
||||
+++ configure 2002/07/02 12:34:01
|
||||
@@ -2335,6 +2335,7 @@
|
||||
|
||||
CFLAGS="$CFLAGS $SDL_CFLAGS"
|
||||
LIBS="$LIBS $SDL_LIBS"
|
||||
+CC="$REAL_CC"
|
||||
|
||||
echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
|
||||
echo "configure:2341: checking for sqrt in -lm" >&5
|
||||
@@ -26,7 +26,8 @@ USE_LIBTOOL= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
|
||||
GLBASE="${X11BASE}" \
|
||||
CPPFLAGS="-I${X11BASE}/include"
|
||||
CPPFLAGS="-I${X11BASE}/include" \
|
||||
CC="${CXX}" REAL_CC="${CC}"
|
||||
|
||||
#If you want to try the opengl player (which doesn't seem to work)
|
||||
#comment out the following line.
|
||||
|
||||
13
multimedia/smpeg/files/patch-configure
Normal file
13
multimedia/smpeg/files/patch-configure
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- configure 2002/07/02 12:33:37 1.1
|
||||
+++ configure 2002/07/02 12:34:01
|
||||
@@ -2335,6 +2335,7 @@
|
||||
|
||||
CFLAGS="$CFLAGS $SDL_CFLAGS"
|
||||
LIBS="$LIBS $SDL_LIBS"
|
||||
+CC="$REAL_CC"
|
||||
|
||||
echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
|
||||
echo "configure:2341: checking for sqrt in -lm" >&5
|
||||
Reference in New Issue
Block a user