diff options
author | hira <hira@pkgsrc.org> | 2008-10-18 01:05:08 +0000 |
---|---|---|
committer | hira <hira@pkgsrc.org> | 2008-10-18 01:05:08 +0000 |
commit | acc3003b4f5657ada4047817604eb668b2f65827 (patch) | |
tree | 8c7d0ff941f0ebeff78bcc0f427be1fdfa1d9f1a /misc/openoffice3 | |
parent | 65f9c5f1bce6c7fe6fdadaeb263415cca25fd89b (diff) | |
download | pkgsrc-acc3003b4f5657ada4047817604eb668b2f65827.tar.gz |
- Correct CDEFS on NetBSD/amd64 (-DX86 -> -DX86_64).
- Fix PLIST without gtk2 option.
Diffstat (limited to 'misc/openoffice3')
-rw-r--r-- | misc/openoffice3/PLIST | 4 | ||||
-rw-r--r-- | misc/openoffice3/distinfo | 4 | ||||
-rw-r--r-- | misc/openoffice3/options.mk | 5 | ||||
-rw-r--r-- | misc/openoffice3/patches/patch-cs | 4 |
4 files changed, 10 insertions, 7 deletions
diff --git a/misc/openoffice3/PLIST b/misc/openoffice3/PLIST index d534666f578..b5b221963de 100644 --- a/misc/openoffice3/PLIST +++ b/misc/openoffice3/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2008/10/14 11:02:24 hira Exp $ +@comment $NetBSD: PLIST,v 1.2 2008/10/18 01:05:08 hira Exp $ bin/scalc bin/sdraw bin/simpress @@ -11,5 +11,5 @@ share/applications/draw.desktop share/applications/impress.desktop share/applications/math.desktop share/applications/printeradmin.desktop -share/applications/qstart.desktop +${PLIST.x11}share/applications/qstart.desktop share/applications/writer.desktop diff --git a/misc/openoffice3/distinfo b/misc/openoffice3/distinfo index 5be11d76099..4c15fa80281 100644 --- a/misc/openoffice3/distinfo +++ b/misc/openoffice3/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2008/10/16 23:16:46 hira Exp $ +$NetBSD: distinfo,v 1.4 2008/10/18 01:05:08 hira Exp $ SHA1 (openoffice-3.0.0/OOo_3.0.0_src_binfilter.tar.bz2) = 09ff91fd871f00c696befa8064fe04d7a88a3c8a RMD160 (openoffice-3.0.0/OOo_3.0.0_src_binfilter.tar.bz2) = edc71b8b0596d63e60431c7266140bf5188abc6d @@ -54,7 +54,7 @@ SHA1 (patch-cn) = 12e09dde1e8fd8afaf2f48fd6455625790b9ecc4 SHA1 (patch-cp) = 35151ba658859c9d116ccdf44ec372c9e66435b1 SHA1 (patch-cq) = 6691fd7fa330db000ec5a9319bf9030b83aa593d SHA1 (patch-cr) = aa797461919635c3e6aaa30678a7585d5640dedd -SHA1 (patch-cs) = dc9afc7cd55cad8f801cb163d25fe2e1803f889a +SHA1 (patch-cs) = 3f4f360870ad22b1fb88a2ca9f7907e03010ac79 SHA1 (patch-ct) = a06c5cbc543acecb4f18e858cd844302bbdb50b4 SHA1 (patch-cu) = b930fd94413c2bdf23ea94b074e3bb5e93784009 SHA1 (patch-cv) = 2e14a54d369a255ee39fcec7d4f1d2b11a8f4d2e diff --git a/misc/openoffice3/options.mk b/misc/openoffice3/options.mk index 1baa901c8e3..97aa7f90c3c 100644 --- a/misc/openoffice3/options.mk +++ b/misc/openoffice3/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.2 2008/10/15 23:17:29 hira Exp $ +# $NetBSD: options.mk,v 1.3 2008/10/18 01:05:08 hira Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.openoffice3 PKG_SUPPORTED_OPTIONS= cups gnome gtk2 java kde ooo-external-libwpd @@ -68,10 +68,13 @@ CONFIGURE_ARGS+= --enable-gnome-vfs --enable-evolution2 CONFIGURE_ARGS+= --disable-gnome-vfs --disable-evolution2 .endif +PLIST_VARS+= gtk2 .if !empty(PKG_OPTIONS:Mgtk2) +PLIST.gtk2= yes CONFIGURE_ARGS+= --enable-gtk .include "../../x11/gtk2/buildlink3.mk" .else +PLIST.gtk2= no CONFIGURE_ARGS+= --disable-gtk .endif diff --git a/misc/openoffice3/patches/patch-cs b/misc/openoffice3/patches/patch-cs index 60986df1378..6bda8bf7d69 100644 --- a/misc/openoffice3/patches/patch-cs +++ b/misc/openoffice3/patches/patch-cs @@ -1,4 +1,4 @@ -$NetBSD: patch-cs,v 1.2 2008/10/16 23:16:46 hira Exp $ +$NetBSD: patch-cs,v 1.3 2008/10/18 01:05:08 hira Exp $ --- solenv/inc/unxbsdx3.mk.orig 2007-10-13 00:24:19.000000000 +0900 +++ solenv/inc/unxbsdx3.mk 2008-10-16 19:28:56.000000000 +0900 @@ -18,7 +18,7 @@ $NetBSD: patch-cs,v 1.2 2008/10/16 23:16:46 hira Exp $ +#LINKOUTPUT_FILTER=" |& $(SOLARENV)$/bin$/msg_filter" + +# _PTHREADS is needed for the stl -+CDEFS+= -DX86 $(PTHREAD_CFLAGS) -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450 ++CDEFS+= -DX86_64 $(PTHREAD_CFLAGS) -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450 + +# enable visibility define in "sal/types.h" +.IF "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE" |