diff options
author | markd <markd@pkgsrc.org> | 2008-06-04 08:54:40 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2008-06-04 08:54:40 +0000 |
commit | 32e1a5ac6fbd8586b7bb3528b1e777d23a2a3ece (patch) | |
tree | 5e38acebd850e516b5e97ea89a6455e852142405 /comms | |
parent | 376718132027fd6ad78b7bdbcfb094352ea273d9 (diff) | |
download | pkgsrc-32e1a5ac6fbd8586b7bb3528b1e777d23a2a3ece.tar.gz |
Fix build on NetBSD-current (needs -lrt).
Diffstat (limited to 'comms')
-rw-r--r-- | comms/hylafax/Makefile | 8 |
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} |