pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/scribus We want to stinking lib64, thanks. Fixes...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/014888f16c06
branches:  trunk
changeset: 400823:014888f16c06
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Oct 28 00:53:56 2009 +0000

description:
We want to stinking lib64, thanks. Fixes packages on amd64 and other
64bit platforms.

diffstat:

 print/scribus/distinfo         |   4 ++--
 print/scribus/patches/patch-ai |  38 +++++++++++++++++++++++++++++++++++---
 2 files changed, 37 insertions(+), 5 deletions(-)

diffs (68 lines):

diff -r 66ab7592ac52 -r 014888f16c06 print/scribus/distinfo
--- a/print/scribus/distinfo    Wed Oct 28 00:12:36 2009 +0000
+++ b/print/scribus/distinfo    Wed Oct 28 00:53:56 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2009/09/16 09:24:55 drochner Exp $
+$NetBSD: distinfo,v 1.22 2009/10/28 00:53:56 joerg Exp $
 
 SHA1 (scribus-1.3.3.13.tar.bz2) = 72625d2c172c991c88e521f6597b914365eba320
 RMD160 (scribus-1.3.3.13.tar.bz2) = c12860f38e103c1f7249449b0316a69bf8bdafbf
@@ -9,4 +9,4 @@
 SHA1 (patch-ae) = 063d4737cbffd3f712d505818fd028f132267c90
 SHA1 (patch-ag) = dbe050de9796992f01d791af0639895683654f7c
 SHA1 (patch-ah) = 51d12aabcbdc7abbee12b0a445b57311b6bd28d4
-SHA1 (patch-ai) = 0dbdb9ac902f09e29782c3557cc1f6da947767f4
+SHA1 (patch-ai) = 756a4db673ebdcf650cfe1a6d1556acdc0b60dad
diff -r 66ab7592ac52 -r 014888f16c06 print/scribus/patches/patch-ai
--- a/print/scribus/patches/patch-ai    Wed Oct 28 00:12:36 2009 +0000
+++ b/print/scribus/patches/patch-ai    Wed Oct 28 00:53:56 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ai,v 1.1 2009/09/16 09:24:55 drochner Exp $
+$NetBSD: patch-ai,v 1.2 2009/10/28 00:53:56 joerg Exp $
 
---- CMakeLists.txt.orig        2009-04-14 22:52:13.000000000 +0200
+--- CMakeLists.txt.orig        2009-10-28 01:31:30.000000000 +0100
 +++ CMakeLists.txt
 @@ -116,7 +116,7 @@ IF (WANT_VERSIONING AND NOT CACHED_VERSI
  ENDIF (WANT_VERSIONING AND NOT CACHED_VERSIONING)
@@ -11,7 +11,39 @@
  SET(SHAREDIR "share/${MAIN_DIR_NAME}${TAG_VERSION}/")
  ADD_DEFINITIONS("-DSHAREDIR=\\\"${CMAKE_INSTALL_PREFIX}/${SHAREDIR}\\\"")
  #SHARE
-@@ -496,15 +496,15 @@ scribus.xml
+@@ -144,30 +144,7 @@ ADD_DEFINITIONS("-DDESKTOPDIR=\\\"${CMAK
+ 
+ #LIB LOCATION - lib or lib64 normally
+ #LIB
+-IF(WANT_LIB64)
+-  IF(NOT ARCH64BIT)
+-    MESSAGE(STATUS "WARNING: BUILDING 64 Bit build on non 64 bit architecture")
+-  ENDIF(NOT ARCH64BIT)
+-  SET(LIB_SUFFIX "64" CACHE TYPE STRING)
+-ENDIF(WANT_LIB64)
+-#OVERRIDE WANT_LIB64 with WANT_LIB32 if both exist
+-IF(WANT_LIB32)
+-  IF(ARCH64BIT)
+-    MESSAGE(STATUS "WARNING: FORCING 32 Bit build on 64 bit architecture")
+-  ENDIF(ARCH64BIT)
+-  SET(LIB_SUFFIX "" CACHE TYPE STRING)
+-  SET(WANT_LIB64 "")
+-ENDIF(WANT_LIB32)
+-#Auto build 64 bit if user doesnt force 32 bit and we detect 64 bit
+-IF(ARCH64BIT AND NOT LIB_SUFFIX)
+-  IF(NOT WANT_LIB32)
+-    IF(NOT WANT_LIB64)
+-      MESSAGE(STATUS "Autodetected 64 bit architecture, building for 64 Bit")
+-      SET(LIB_SUFFIX "64" CACHE TYPE STRING)
+-    ENDIF(NOT WANT_LIB64)
+-  ENDIF(NOT WANT_LIB32)
+-ENDIF(ARCH64BIT AND NOT LIB_SUFFIX)
+-
++SET(LIB_SUFFIX "" CACHE TYPE STRING)
+ 
+ SET(LIB_DIR_NAME "lib${LIB_SUFFIX}")
+ SET(LIBDIR "${LIB_DIR_NAME}/${MAIN_DIR_NAME}${TAG_VERSION}/")
+@@ -496,15 +473,15 @@ scribus.xml
  DESTINATION ${MIMEDIR}
  )
  #KDE workaround until it starts supporting freedesktop spec



Home | Main Index | Thread Index | Old Index