pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/upower Make sure the configure script picks u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3ff47ae62703
branches:  trunk
changeset: 367034:3ff47ae62703
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Tue Aug 22 12:10:42 2017 +0000

description:
Make sure the configure script picks up the correct copy of libintl.

PR# pkg/51239
PR# pkg/51246

diffstat:

 sysutils/upower/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 764134828697 -r 3ff47ae62703 sysutils/upower/Makefile
--- a/sysutils/upower/Makefile  Tue Aug 22 12:05:45 2017 +0000
+++ b/sysutils/upower/Makefile  Tue Aug 22 12:10:42 2017 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2016/03/12 11:50:08 ryoon Exp $
+# $NetBSD: Makefile,v 1.8 2017/08/22 12:10:42 jmcneill Exp $
 
 DISTNAME=      upower-0.99.4
+PKGREVISION=   1
 CATEGORIES=    sysutils
 MASTER_SITES=  http://upower.freedesktop.org/releases/
 EXTRACT_SUFX=  .tar.xz
@@ -17,6 +18,7 @@
 
 CONFIGURE_ARGS+=       --localstatedir=${VARBASE}
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+=       --with-libintl-prefix=${BUILDLINK_PREFIX.gettext}
 
 PKG_SYSCONFSUBDIR=     UPower
 INSTALL_MAKE_FLAGS+=   configdir=${EGDIR} dbusconfdir=${EGDIR}
@@ -36,6 +38,7 @@
 # with --nonet, xsltproc needs a helping hand finding some dtds
 XSLTPROC_PATH+=        ${LOCALBASE}/share/doc/dbus
 
+.include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../sysutils/dbus/buildlink3.mk"
 .include "../../sysutils/dbus-glib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index