pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/hylafax Fix build on NetBSD-current (needs -lrt).



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e24feed262f0
branches:  trunk
changeset: 543104:e24feed262f0
user:      markd <markd%pkgsrc.org@localhost>
date:      Wed Jun 04 08:54:40 2008 +0000

description:
Fix build on NetBSD-current (needs -lrt).

diffstat:

 comms/hylafax/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 82d99e9580c4 -r e24feed262f0 comms/hylafax/Makefile
--- a/comms/hylafax/Makefile    Wed Jun 04 07:33:52 2008 +0000
+++ b/comms/hylafax/Makefile    Wed Jun 04 08:54:40 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2007/11/12 18:10:42 heinz Exp $
+# $NetBSD: Makefile,v 1.57 2008/06/04 08:54:40 markd Exp $
 
 VERS=          4.2.5
 DISTNAME=      hylafax-${VERS}
@@ -51,6 +51,12 @@
 CONFIGURE_ARGS+=       --disable-pam
 .endif
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/pset.h)
+CONFIGURE_ENV+=                MACHDEPLIBS=-lrt
+.endif
+
 post-install:
        chown ${FAXUSER} ${SUID_EXES}
        chmod 4555 ${SUID_EXES}



Home | Main Index | Thread Index | Old Index