summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-04-04 13:49:17 +0000
committerpav <pav@FreeBSD.org>2004-04-04 13:49:17 +0000
commite0078eccac2cece011e429034ebce0b35d3b3ea7 (patch)
treec870e810c039614fa87454092a9cfd8365b4a88e /graphics
parent86d7dc895223513a15310cd23fc55fd6bf101507 (diff)
downloadFreeBSD-ports-e0078eccac2cece011e429034ebce0b35d3b3ea7.zip
FreeBSD-ports-e0078eccac2cece011e429034ebce0b35d3b3ea7.tar.gz
- Refine -lstdc++ hack
Prompted by: maintainer
Diffstat (limited to 'graphics')
-rw-r--r--graphics/pixie/Makefile2
-rw-r--r--graphics/pixie/files/patch-configure.in8
2 files changed, 5 insertions, 5 deletions
diff --git a/graphics/pixie/Makefile b/graphics/pixie/Makefile
index ad7e8bf..46d6567 100644
--- a/graphics/pixie/Makefile
+++ b/graphics/pixie/Makefile
@@ -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
diff --git a/graphics/pixie/files/patch-configure.in b/graphics/pixie/files/patch-configure.in
index 89fa0f6..d88f8a4 100644
--- a/graphics/pixie/files/patch-configure.in
+++ b/graphics/pixie/files/patch-configure.in
@@ -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}"
-
OpenPOWER on IntegriCloud