summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--comms/hylafax/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/comms/hylafax/Makefile b/comms/hylafax/Makefile
index 7b30e21e7fa..ee4088bc449 100644
--- a/comms/hylafax/Makefile
+++ b/comms/hylafax/Makefile
@@ -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 @@ PKG_SUPPORTED_OPTIONS= pam
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}