diff options
author | pav <pav@FreeBSD.org> | 2004-04-04 21:49:17 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-04-04 21:49:17 +0800 |
commit | e0078eccac2cece011e429034ebce0b35d3b3ea7 (patch) | |
tree | c870e810c039614fa87454092a9cfd8365b4a88e /graphics | |
parent | 86d7dc895223513a15310cd23fc55fd6bf101507 (diff) | |
download | freebsd-ports-graphics-e0078eccac2cece011e429034ebce0b35d3b3ea7.tar.gz freebsd-ports-graphics-e0078eccac2cece011e429034ebce0b35d3b3ea7.tar.zst freebsd-ports-graphics-e0078eccac2cece011e429034ebce0b35d3b3ea7.zip |
- Refine -lstdc++ hack
Prompted by: maintainer
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/pixie/Makefile | 2 | ||||
-rw-r--r-- | graphics/pixie/files/patch-configure.in | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/graphics/pixie/Makefile b/graphics/pixie/Makefile index ad7e8bf8c48..46d65676a47 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 89fa0f6479e..d88f8a4884d 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}" - |