pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/transmission-qt Fix build with quota patch.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4e051928119e
branches:  trunk
changeset: 632601:4e051928119e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Apr 01 20:04:27 2014 +0000

description:
Fix build with quota patch.

diffstat:

 net/transmission-qt/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 305112da4275 -r 4e051928119e net/transmission-qt/Makefile
--- a/net/transmission-qt/Makefile      Tue Apr 01 18:49:32 2014 +0000
+++ b/net/transmission-qt/Makefile      Tue Apr 01 20:04:27 2014 +0000
@@ -1,9 +1,16 @@
-# $NetBSD: Makefile,v 1.6 2014/04/01 09:48:05 adam Exp $
+# $NetBSD: Makefile,v 1.7 2014/04/01 20:04:27 wiz Exp $
 
 PKGNAME=       ${DISTNAME:C:-:-qt-:}
 
 USE_LANGUAGES=         c c++
 MAKE_ENV+=             QTDIR=${QTDIR}
+
+.include "../../mk/bsd.fast.prefs.mk"
+
+.if !empty(MACHINE_PLATFORM:MNetBSD-[6-9].*-*)
+MAKE_ENV+=             SUBLIBS=-lquota
+.endif
+
 INSTALL_ENV+=          INSTALL_ROOT=${DESTDIR}${PREFIX}
 
 CONFIGURE_ARGS+=       --disable-cli



Home | Main Index | Thread Index | Old Index