diff options
author | cube <cube@pkgsrc.org> | 2008-09-22 19:02:13 +0000 |
---|---|---|
committer | cube <cube@pkgsrc.org> | 2008-09-22 19:02:13 +0000 |
commit | 28a5d822d25d4870323dcc917949118af2ecccfe (patch) | |
tree | dc970f6d668dfb1910855b95860005bd9e4d9f48 | |
parent | 0b9f42e7aa33ad5415e510bb69b7614d78642d92 (diff) | |
download | pkgsrc-28a5d822d25d4870323dcc917949118af2ecccfe.tar.gz |
Add a gross workaround to the gross workaround because openoffice insists
on using the pkgconfig files of its dependency.
-rw-r--r-- | misc/openoffice2/Makefile.NetBSD | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/misc/openoffice2/Makefile.NetBSD b/misc/openoffice2/Makefile.NetBSD index fb0eee2d070..f9e5577e509 100644 --- a/misc/openoffice2/Makefile.NetBSD +++ b/misc/openoffice2/Makefile.NetBSD @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.NetBSD,v 1.1 2008/02/05 19:17:24 hira Exp $ +# $NetBSD: Makefile.NetBSD,v 1.1.8.1 2008/09/22 19:02:13 cube Exp $ # # systray quickstarter is broken with mutex handling? @@ -6,10 +6,11 @@ CONFIGURE_ARGS+= --disable-systray # *.pc files are required, but these don't exist on NetBSD. .if defined(X11_TYPE) && !empty(X11_TYPE:Mnative) -USE_BUILTIN.freetype2= no -USE_BUILTIN.Xfixes= no -USE_BUILTIN.Xrandr= no -USE_BUILTIN.Xrender= no +. for _pkg_ in freetype2 Xfixes Xrandr Xrender +. if !exists(${X11BASE}/lib/pkgconfig/${_pkg_:tl}.pc) +USE_BUILTIN.${_pkg_}= no +. endif +. endfor .endif .if ${MACHINE_ARCH} == "i386" |