diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-04-04 13:49:17 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-04-04 13:49:17 +0000 |
commit | 35238c4091ea11c2fc44112646d3e193f2b3f53d (patch) | |
tree | e4cd747ea2b255ba532bd0be4c5b3b08b5a70de6 /graphics/pixie | |
parent | - Update to 1.2.6, the latest stable version (diff) |
- Refine -lstdc++ hack
Prompted by: maintainer
Diffstat (limited to 'graphics/pixie')
-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 ad7e8bf8c485..46d65676a47a 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 89fa0f6479ed..d88f8a4884de 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}" - |