summaryrefslogtreecommitdiff
path: root/mail/metamail/patches
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2003-10-03 18:20:53 +0000
committerxtraeme <xtraeme@pkgsrc.org>2003-10-03 18:20:53 +0000
commit72dfd7152bce4568e1313ec143425f27e48e145b (patch)
tree2670110de0006fa23ea1ed9e9002dce1e519b6f6 /mail/metamail/patches
parent68332c02d1b22a4f8c4be1b0efc20cdc81aed4d9 (diff)
downloadpkgsrc-72dfd7152bce4568e1313ec143425f27e48e145b.tar.gz
FreeBSD also has stty() and gtty() in libcompat, so link to libcompat here.
Diffstat (limited to 'mail/metamail/patches')
-rw-r--r--mail/metamail/patches/patch-aa4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/metamail/patches/patch-aa b/mail/metamail/patches/patch-aa
index acf5eabc900..8932f073906 100644
--- a/mail/metamail/patches/patch-aa
+++ b/mail/metamail/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2003/03/23 13:39:26 jmmv Exp $
+$NetBSD: patch-aa,v 1.5 2003/10/03 18:20:53 xtraeme Exp $
--- Makefile.orig 1994-01-26 18:32:33.000000000 +0100
+++ Makefile
@@ -29,7 +29,7 @@ $NetBSD: patch-aa,v 1.4 2003/03/23 13:39:26 jmmv Exp $
# On BSD 4.4 systems, you will need the following
-# LDLIBS = -lcompat
+OPSYS!= uname -s
-+.if ${OPSYS} == "NetBSD"
++.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD"
+LDLIBS = -s -lcompat
+.endif
# On SGI machines, we need -lsun for getpw...(), and -lc_s saves some space.