diff options
Diffstat (limited to 'devel/qt5-script')
4 files changed, 140 insertions, 0 deletions
diff --git a/devel/qt5-script/Makefile b/devel/qt5-script/Makefile new file mode 100644 index 000000000000..d07a4e8f0934 --- /dev/null +++ b/devel/qt5-script/Makefile @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= script +DISTVERSION= ${QT5_VERSION} +CATEGORIES= devel +PKGNAMEPREFIX= qt5- + +MAINTAINER= kde@FreeBSD.org +COMMENT= Qt 4-compatible scripting module + +USE_QT5= core buildtools_build +QT_DIST= ${PORTNAME} +USES= qmake +# Keep make(1) from descending into src/script/obj/ (qmake:outsource +# doesn't work). +MAKE_ENV= MAKEOBJDIR=. +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} + +post-patch: + @${REINPLACE_CMD} -e '/scripttools/ d' \ + ${WRKSRC}/src/src.pro + +.include <bsd.port.mk> diff --git a/devel/qt5-script/files/patch-src__3rdparty__javascriptcore__JavaScriptCore__jit__JITStubs.cpp b/devel/qt5-script/files/patch-src__3rdparty__javascriptcore__JavaScriptCore__jit__JITStubs.cpp new file mode 100644 index 000000000000..093c17420874 --- /dev/null +++ b/devel/qt5-script/files/patch-src__3rdparty__javascriptcore__JavaScriptCore__jit__JITStubs.cpp @@ -0,0 +1,11 @@ +--- ./src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp.orig 2012-12-12 20:18:37.000000000 +0100 ++++ ./src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp 2012-12-17 02:10:50.513375070 +0100 +@@ -80,7 +80,7 @@ + #define THUMB_FUNC_PARAM(name) + #endif + +-#if OS(LINUX) && CPU(X86_64) ++#if (OS(LINUX) || OS(FREEBSD)) && CPU(X86_64) + #define SYMBOL_STRING_RELOCATION(name) #name "@plt" + #else + #define SYMBOL_STRING_RELOCATION(name) SYMBOL_STRING(name) diff --git a/devel/qt5-script/files/patch-src__3rdparty__javascriptcore__JavaScriptCore__runtime__JSValue.h b/devel/qt5-script/files/patch-src__3rdparty__javascriptcore__JavaScriptCore__runtime__JSValue.h new file mode 100644 index 000000000000..ab3985eaaf8a --- /dev/null +++ b/devel/qt5-script/files/patch-src__3rdparty__javascriptcore__JavaScriptCore__runtime__JSValue.h @@ -0,0 +1,26 @@ +--- ./src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSValue.h.orig 2012-12-12 20:18:36.000000000 +0100 ++++ ./src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSValue.h 2012-12-17 02:13:05.073285539 +0100 +@@ -491,7 +491,11 @@ + u.asBits.tag = CellTag; + else + u.asBits.tag = EmptyValueTag; ++#if defined(__sparc64__) ++ u.asBits.payload = reinterpret_cast<int64_t>(ptr); ++#else + u.asBits.payload = reinterpret_cast<int32_t>(ptr); ++#endif + #if ENABLE(JSC_ZOMBIES) + ASSERT(!isZombie()); + #endif +@@ -503,7 +507,11 @@ + u.asBits.tag = CellTag; + else + u.asBits.tag = EmptyValueTag; ++#if defined(__sparc64__) ++ u.asBits.payload = reinterpret_cast<int64_t>(const_cast<JSCell*>(ptr)); ++#else + u.asBits.payload = reinterpret_cast<int32_t>(const_cast<JSCell*>(ptr)); ++#endif + #if ENABLE(JSC_ZOMBIES) + ASSERT(!isZombie()); + #endif diff --git a/devel/qt5-script/pkg-plist b/devel/qt5-script/pkg-plist new file mode 100644 index 000000000000..f62f1250e12b --- /dev/null +++ b/devel/qt5-script/pkg-plist @@ -0,0 +1,80 @@ +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptable_p.h +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptactivationobject_p.h +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptast_p.h +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptastfwd_p.h +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptastvisitor_p.h +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptclassobject_p.h +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptcontext_p.h +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptdeclarativeclass_p.h +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptdeclarativeobject_p.h +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptengine_p.h +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptengineagent_p.h +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptfunction_p.h +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptglobalobject_p.h +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptgrammar_p.h +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptlexer_p.h +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptobject_p.h +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptparser_p.h +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptprogram_p.h +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptqobject_p.h +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptstaticscopeobject_p.h +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptstring_p.h +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptsyntaxchecker_p.h +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptvalue_p.h +%%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private/qscriptvariant_p.h +%%QT_INCDIR%%/QtScript/QScriptClass +%%QT_INCDIR%%/QtScript/QScriptClassPropertyIterator +%%QT_INCDIR%%/QtScript/QScriptContext +%%QT_INCDIR%%/QtScript/QScriptContextInfo +%%QT_INCDIR%%/QtScript/QScriptContextInfoList +%%QT_INCDIR%%/QtScript/QScriptEngine +%%QT_INCDIR%%/QtScript/QScriptEngineAgent +%%QT_INCDIR%%/QtScript/QScriptExtensionInterface +%%QT_INCDIR%%/QtScript/QScriptExtensionPlugin +%%QT_INCDIR%%/QtScript/QScriptProgram +%%QT_INCDIR%%/QtScript/QScriptString +%%QT_INCDIR%%/QtScript/QScriptSyntaxCheckResult +%%QT_INCDIR%%/QtScript/QScriptValue +%%QT_INCDIR%%/QtScript/QScriptValueIterator +%%QT_INCDIR%%/QtScript/QScriptValueList +%%QT_INCDIR%%/QtScript/QScriptable +%%QT_INCDIR%%/QtScript/QtScript +%%QT_INCDIR%%/QtScript/QtScriptDepends +%%QT_INCDIR%%/QtScript/QtScriptVersion +%%QT_INCDIR%%/QtScript/qscriptable.h +%%QT_INCDIR%%/QtScript/qscriptclass.h +%%QT_INCDIR%%/QtScript/qscriptclasspropertyiterator.h +%%QT_INCDIR%%/QtScript/qscriptcontext.h +%%QT_INCDIR%%/QtScript/qscriptcontextinfo.h +%%QT_INCDIR%%/QtScript/qscriptengine.h +%%QT_INCDIR%%/QtScript/qscriptengineagent.h +%%QT_INCDIR%%/QtScript/qscriptextensioninterface.h +%%QT_INCDIR%%/QtScript/qscriptextensionplugin.h +%%QT_INCDIR%%/QtScript/qscriptprogram.h +%%QT_INCDIR%%/QtScript/qscriptstring.h +%%QT_INCDIR%%/QtScript/qscriptvalue.h +%%QT_INCDIR%%/QtScript/qscriptvalueiterator.h +%%QT_INCDIR%%/QtScript/qtscriptglobal.h +%%QT_INCDIR%%/QtScript/qtscriptversion.h +%%QT_LIBDIR%%/cmake/Qt5Script/Qt5ScriptConfig.cmake +%%QT_LIBDIR%%/cmake/Qt5Script/Qt5ScriptConfigVersion.cmake +%%QT_LIBDIR%%/libQt5Script.la +%%QT_LIBDIR%%/libQt5Script.prl +%%QT_LIBDIR%%/libQt5Script.so +%%QT_LIBDIR%%/libQt5Script.so.5 +%%QT_LIBDIR%%/libQt5Script.so.%%SHORTVER%% +%%QT_LIBDIR%%/libQt5Script.so.%%FULLVER%% +%%DEBUG%%%%QT_LIBDIR%%/libQt5Script.so.%%FULLVER%%.debug +%%QT_MKSPECDIR%%/modules/qt_lib_script.pri +%%QT_MKSPECDIR%%/modules/qt_lib_script_private.pri +libdata/pkgconfig/Qt5Script.pc +@dirrmtry %%QT_MKSPECDIR%%/modules +@dirrmtry %%QT_MKSPECDIR%% +@dirrmtry %%QT_ARCHDIR%% +@dirrm %%QT_LIBDIR%%/cmake/Qt5Script +@dirrmtry %%QT_LIBDIR%%/cmake +@dirrm %%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript/private +@dirrm %%QT_INCDIR%%/QtScript/%%FULLVER%%/QtScript +@dirrm %%QT_INCDIR%%/QtScript/%%FULLVER%% +@dirrm %%QT_INCDIR%%/QtScript +@dirrmtry %%QT_INCDIR%% |
