pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/xsd boost is not using -mt for libs any longer, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e4ab7d5cc133
branches:  trunk
changeset: 400946:e4ab7d5cc133
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Oct 30 19:29:54 2009 +0000

description:
boost is not using -mt for libs any longer, so don't substitute back.
Pass down -rpath as a single option to prevent it from being mangled up.

diffstat:

 devel/xsd/Makefile |  12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diffs (33 lines):

diff -r 0b4bafbf46e6 -r e4ab7d5cc133 devel/xsd/Makefile
--- a/devel/xsd/Makefile        Fri Oct 30 19:24:01 2009 +0000
+++ b/devel/xsd/Makefile        Fri Oct 30 19:29:54 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2009/07/08 18:09:25 hasso Exp $
+# $NetBSD: Makefile,v 1.5 2009/10/30 19:29:54 joerg Exp $
 
 DISTNAME=              xsd-3.2.0+dep
 EXTRACT_SUFX=          .tar.bz2
@@ -16,14 +16,6 @@
 USE_TOOLS+=            bash gmake gm4
 USE_LANGUAGES+=                c++
 
-SUBST_CLASSES+=                boost
-SUBST_STAGE.boost=     post-configure
-SUBST_FILES.boost=     */*/*/*/*/stub.make
-SUBST_SED.boost=       -e 's|-lboost_date_time|-lboost_date_time-mt|g'
-SUBST_SED.boost+=      -e 's|-lboost_filesystem|-lboost_filesystem-mt|g'
-SUBST_SED.boost+=      -e 's|-lboost_regex|-lboost_regex-mt|g'
-SUBST_SED.boost+=      -e 's|-lboost_serialization|-lboost_serialization-mt|g'
-
 SUBST_CLASSES+=                rpath
 SUBST_STAGE.rpath=     post-configure
 SUBST_FILES.rpath=     */*/*/configuration-dynamic.make
@@ -31,7 +23,7 @@
 
 do-build:
        # XXX: rapth needs a better hack. TODO: add optimization
-       cd ${WRKSRC} && LDFLAGS="-Wl,-rpath ${PREFIX}/lib" ./build.sh
+       cd ${WRKSRC} && LDFLAGS="-Wl,-rpath,${PREFIX}/lib" ./build.sh
 
 do-install:
        cd ${WRKSRC} && MAKEFLAGS="install_prefix=${DESTDIR}${PREFIX} \



Home | Main Index | Thread Index | Old Index