Index: astro/xglobe/Makefile =================================================================== --- astro/xglobe/Makefile (revision 308671) +++ astro/xglobe/Makefile (working copy) @@ -17,7 +17,7 @@ USE_QT4= corelib gui qt3support moc_build USE_GMAKE= yes -MAKE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS} QT_PREFIX=${QT_PREFIX} +MAKE_ENV= QT_PREFIX=${QT_PREFIX} do-install: @${MKDIR} ${DATADIR} Index: astro/xglobe/files/patch-Makefile =================================================================== --- astro/xglobe/files/patch-Makefile (revision 308671) +++ astro/xglobe/files/patch-Makefile (working copy) @@ -47,7 +47,7 @@ LIB_DIRS = -L$(QT_LIB_DIR) -L$(X11_LIB_DIR) -LIBS = -lX11 -lqt -lm -+LIBS = -lX11 -lQt3Support -lQtGui -lm ${PTHREAD_LIBS} ++LIBS = -lX11 -lQt3Support -lQtGui -lm -pthread # If you want to use the QImageIO lib (to support jpg and png maps) use the # next two lines and comment the one above #WITH_QIMGIO = -DWITH_QIMAGEIO Index: astro/openuniverse/Makefile =================================================================== --- astro/openuniverse/Makefile (revision 308671) +++ astro/openuniverse/Makefile (working copy) @@ -25,9 +25,9 @@ CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \ --libdir="${LOCALBASE}/lib" \ -CONFIGURE_ENV= LIBS="-lcompat" PTHREAD_LIBS="${PTHREAD_LIBS}" +CONFIGURE_ENV= LIBS="-lcompat" PTHREAD_LIBS="-pthread" CPPFLAGS+= -I${LOCALBASE}/include/GL -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lm -MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" +MAKE_ENV= PTHREAD_LIBS="-pthread" .include Index: astro/gpsd/Makefile =================================================================== --- astro/gpsd/Makefile (revision 308671) +++ astro/gpsd/Makefile (working copy) @@ -273,9 +273,6 @@ SCONS_ARGS+= profiling=yes .endif -post-patch: - @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/Qgpsmm.pc.in - # generates .py[co] files for installed modules # if that's not done, ${PYTHON_SITELIBDIR}/gps will be polluted # with these files when module is imported from root user Index: astro/viking/Makefile =================================================================== --- astro/viking/Makefile (revision 308671) +++ astro/viking/Makefile (working copy) @@ -12,8 +12,7 @@ LICENSE= GPLv2 # (or later) -LIB_DEPENDS= pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \ - pcre:${PORTSDIR}/devel/pcre \ +LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre \ curl:${PORTSDIR}/ftp/curl \ cairo:${PORTSDIR}/graphics/cairo \ png15:${PORTSDIR}/graphics/png \ @@ -34,8 +33,8 @@ INSTALLS_OMF= yes MAKE_JOBS_SAFE= yes -CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -pthread PORTDOCS= AUTHORS ChangeLog NEWS README TODO Index: astro/celestia/Makefile =================================================================== --- astro/celestia/Makefile (revision 308671) +++ astro/celestia/Makefile (working copy) @@ -24,8 +24,8 @@ WANT_GNOME= yes CXXFLAGS+= -fsigned-char # fix text rendering (see Gentoo bug 316573) -CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -pthread UI_LIST= glut gtk gnome kde CELESTIA_UI?= glut