diff options
Diffstat (limited to 'x11/controlcenter')
-rw-r--r-- | x11/controlcenter/Makefile | 9 | ||||
-rw-r--r-- | x11/controlcenter/patches/patch-ab | 4 |
2 files changed, 10 insertions, 3 deletions
diff --git a/x11/controlcenter/Makefile b/x11/controlcenter/Makefile index 0e64b8e1737..fb8c3b110d1 100644 --- a/x11/controlcenter/Makefile +++ b/x11/controlcenter/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.62 2004/04/25 04:16:44 xtraeme Exp $ +# $NetBSD: Makefile,v 1.63 2004/06/08 17:48:24 jschauma Exp $ DISTNAME= control-center-1.4.0.4 PKGREVISION= 7 @@ -24,6 +24,13 @@ LOCALSTATEDIR= ${X11PREFIX}/var GNU_CONFIGURE= YES CONFIGURE_ARGS+= --localstatedir=${LOCALSTATEDIR} +.include "../../mk/bsd.prefs.mk" + +# Linux has libintl functionality in libc +.if ${OPSYS} != "Linux" +CONFIGURE_ENV+= INTLLIBS="-lintl" +.endif + post-patch: @${ECHO} >>${WRKSRC}/control-center/cappletConf.sh.in "" diff --git a/x11/controlcenter/patches/patch-ab b/x11/controlcenter/patches/patch-ab index b5ae1d84eb3..6f47ee85385 100644 --- a/x11/controlcenter/patches/patch-ab +++ b/x11/controlcenter/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.5 2002/08/29 08:42:52 jlam Exp $ +$NetBSD: patch-ab,v 1.6 2004/06/08 17:48:25 jschauma Exp $ --- configure.orig Sun Feb 10 16:36:55 2002 +++ configure @@ -18,7 +18,7 @@ $NetBSD: patch-ab,v 1.5 2002/08/29 08:42:52 jlam Exp $ +# NetBSD: set DATADIRNAME to "share" +DATADIRNAME="share" +INTLDEPS= -+INTLLIBS="-lintl" ++INTLLIBS="${INTLLIBS}" + for ac_hdr in dlfcn.h dl.h do |