- Refine -lstdc++ hack

Prompted by:	maintainer
This commit is contained in:
Pav Lucistnik 2004-04-04 13:49:17 +00:00
parent 8cd147fb26
commit 35238c4091
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106115
2 changed files with 5 additions and 5 deletions

View File

@ -32,7 +32,7 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CFLAGS="${CFLAGS} -fPIC -I${LOCALBASE}/include -I${X11BASE}/include" \
CXXFLAGS="${CXXFLAGS} -fPIC -I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
LIBS="${PTHREAD_LIBS} -lstdc++"
LIBS="${PTHREAD_LIBS}"
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib/${PORTNAME}
WRKSRC= ${WRKDIR}/Pixie

View File

@ -1,5 +1,5 @@
--- configure.in.orig Sun Mar 21 09:55:41 2004
+++ configure.in Fri Apr 2 13:59:41 2004
--- configure.in.orig Sun Mar 21 07:55:41 2004
+++ configure.in Sun Apr 4 15:36:24 2004
@@ -21,9 +21,9 @@
dnl ---------------------------------------------------
dnl Check standard libraries
@ -21,7 +21,8 @@
+LIBS="$LIBS -lGL"
+
AC_CHECK_LIB(fltk,main,LIBFLTK="-lfltk")
AC_CHECK_LIB(fltk_gl,main,[LIBFLTKGL="-lfltk_gl -lGL" FLTK_EXTRA=show])
-AC_CHECK_LIB(fltk_gl,main,[LIBFLTKGL="-lfltk_gl -lGL" FLTK_EXTRA=show])
+AC_CHECK_LIB(fltk_gl,main,[LIBFLTKGL="-lfltk_gl -lGL -lstdc++" FLTK_EXTRA=show])
+LIBS="${saved_LIBS}"
@ -36,4 +37,3 @@
AC_CHECK_LIB(tiff,TIFFOpen,,[AC_MSG_ERROR([libtiff not found])],)
TIFF_LIBS="${LIBS}"