summaryrefslogtreecommitdiff
path: root/comms/hylafax/Makefile
diff options
context:
space:
mode:
authormarkd <markd>2008-06-04 08:54:40 +0000
committermarkd <markd>2008-06-04 08:54:40 +0000
commitb1db00df148b54acea3ba1b897930125fcd85cb2 (patch)
tree5e38acebd850e516b5e97ea89a6455e852142405 /comms/hylafax/Makefile
parent69062bd8cff862a39b349ba6b1376bcdb3d8fcf0 (diff)
downloadpkgsrc-b1db00df148b54acea3ba1b897930125fcd85cb2.tar.gz
Fix build on NetBSD-current (needs -lrt).
Diffstat (limited to 'comms/hylafax/Makefile')
-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}