diff options
author | joerg <joerg@pkgsrc.org> | 2013-12-15 19:44:02 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-12-15 19:44:02 +0000 |
commit | 67da0a845a47437f823198802552aa4ff86c2e15 (patch) | |
tree | 10bb6e053fac81e7ea4b36f5dd0c85c60fe5dc39 /print | |
parent | c3de7f85b7ab8f462a1d67ca854d0fd757484fe9 (diff) | |
download | pkgsrc-67da0a845a47437f823198802552aa4ff86c2e15.tar.gz |
Disable optimisations for Clang for the Scribus 1.3.4 import filter.
Diffstat (limited to 'print')
-rw-r--r-- | print/scribus-qt4/Makefile | 7 | ||||
-rw-r--r-- | print/scribus-qt4/distinfo | 3 | ||||
-rw-r--r-- | print/scribus-qt4/patches/patch-scribus_plugins_fileloader_scribus134format_CMakeLists.txt | 13 |
3 files changed, 21 insertions, 2 deletions
diff --git a/print/scribus-qt4/Makefile b/print/scribus-qt4/Makefile index e782b3c20db..c74a9f74ee3 100644 --- a/print/scribus-qt4/Makefile +++ b/print/scribus-qt4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2013/08/09 11:06:28 drochner Exp $ +# $NetBSD: Makefile,v 1.28 2013/12/15 19:44:02 joerg Exp $ DISTNAME= scribus-1.4.3 CATEGORIES= print @@ -21,6 +21,11 @@ CMAKE_ARGS+= -DPNG_LIBRARY_RELEASE=${LOCALBASE}/lib INSTALLATION_DIRS+= share/pixmaps +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +CMAKE_ARGS+= -DCLANG_NO_OPT=-O0 +.endif + post-install: ${INSTALL_DATA} ${WRKSRC}/resources/icons/scribus.png \ ${DESTDIR}${PREFIX}/share/pixmaps diff --git a/print/scribus-qt4/distinfo b/print/scribus-qt4/distinfo index 0b77054af6f..ab1aec1988f 100644 --- a/print/scribus-qt4/distinfo +++ b/print/scribus-qt4/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2013/08/09 11:06:28 drochner Exp $ +$NetBSD: distinfo,v 1.7 2013/12/15 19:44:02 joerg Exp $ SHA1 (scribus-1.4.3.tar.xz) = 30c111762790e4407c13236bbb4b06f04e907f71 RMD160 (scribus-1.4.3.tar.xz) = 0c3103536610ca1881d1b65b549886bf9f0d8650 @@ -9,3 +9,4 @@ SHA1 (patch-ai) = fbd6212fc9190d1b2ede4d54806355e5d0ed389e SHA1 (patch-ba) = ecddb2304b0ab37fbca41a662773107923df273b SHA1 (patch-bb) = c39d78679e0cd17a0fe19a98ecabe7eadfc5b881 SHA1 (patch-bc) = 1b93d844b40ebe9b425ac7e6fb6b05189c194b6b +SHA1 (patch-scribus_plugins_fileloader_scribus134format_CMakeLists.txt) = b0fa6cabcbcdc46d2a662df313b02f61f4926d2b diff --git a/print/scribus-qt4/patches/patch-scribus_plugins_fileloader_scribus134format_CMakeLists.txt b/print/scribus-qt4/patches/patch-scribus_plugins_fileloader_scribus134format_CMakeLists.txt new file mode 100644 index 00000000000..cbb9b60f5dd --- /dev/null +++ b/print/scribus-qt4/patches/patch-scribus_plugins_fileloader_scribus134format_CMakeLists.txt @@ -0,0 +1,13 @@ +$NetBSD: patch-scribus_plugins_fileloader_scribus134format_CMakeLists.txt,v 1.1 2013/12/15 19:44:02 joerg Exp $ + +--- scribus/plugins/fileloader/scribus134format/CMakeLists.txt.orig 2013-12-14 22:12:14.000000000 +0000 ++++ scribus/plugins/fileloader/scribus134format/CMakeLists.txt +@@ -14,6 +14,8 @@ scribus134format_save.cpp + scribus134formatimpl.cpp + ) + ++SET_SOURCE_FILES_PROPERTIES(scribus134format.cpp PROPERTIES COMPILE_FLAGS "${CLANG_NO_OPT}") ++ + SET(SCRIBUS_SCR134FORMAT_FL_PLUGIN "scribus134format") + + QT4_WRAP_CPP(SCR134FORMAT_FL_PLUGIN_MOC_SOURCES ${SCR134FORMAT_FL_PLUGIN_MOC_CLASSES}) |