pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/rtty Do not use libcrypt on Darwin. Darwin h...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a6e31e48ea86
branches: trunk
changeset: 522686:a6e31e48ea86
user: minskim <minskim%pkgsrc.org@localhost>
date: Sun Dec 17 20:09:26 2006 +0000
description:
Do not use libcrypt on Darwin. Darwin has crypt(3) in libc.
diffstat:
sysutils/rtty/Makefile | 8 +++++++-
sysutils/rtty/distinfo | 4 ++--
sysutils/rtty/patches/patch-aa | 19 +++++++++----------
3 files changed, 18 insertions(+), 13 deletions(-)
diffs (88 lines):
diff -r f326e3d187b7 -r a6e31e48ea86 sysutils/rtty/Makefile
--- a/sysutils/rtty/Makefile Sun Dec 17 19:34:52 2006 +0000
+++ b/sysutils/rtty/Makefile Sun Dec 17 20:09:26 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2006/03/04 21:30:42 jlam Exp $
+# $NetBSD: Makefile,v 1.25 2006/12/17 20:09:26 minskim Exp $
DISTNAME= rtty-3.2
PKGREVISION= 1
@@ -10,6 +10,12 @@
WRKSRC= ${WRKDIR}
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Darwin"
+MAKE_ENV+= LIBS="-lcrypt"
+.endif
+
pre-configure:
${CHMOD} -R u+w ${WRKDIR}
for f in `${FIND} ${WRKDIR}/. -type f -print | ${XARGS} ${GREP} -l '/usr/local'`; do \
diff -r f326e3d187b7 -r a6e31e48ea86 sysutils/rtty/distinfo
--- a/sysutils/rtty/distinfo Sun Dec 17 19:34:52 2006 +0000
+++ b/sysutils/rtty/distinfo Sun Dec 17 20:09:26 2006 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 13:40:57 agc Exp $
+$NetBSD: distinfo,v 1.4 2006/12/17 20:09:26 minskim Exp $
SHA1 (rtty-3.2.tar.gz) = 62587ee4eec0b551b2b38341f20fddebde1ee8a1
RMD160 (rtty-3.2.tar.gz) = 03863b5fbaf27a6f254c620e91c3dcd364df926a
Size (rtty-3.2.tar.gz) = 23445 bytes
-SHA1 (patch-aa) = 4d860aeeac21ff125bcff995f85a530caa208eb0
+SHA1 (patch-aa) = 347e1522c9f4a13f821799c17a8950421ec9170a
SHA1 (patch-ab) = 32644f9383ef43b45421fc100382509e2e6b2e34
SHA1 (patch-ac) = 8b1b1be9eb471f68d62b4454f9bd74dddb471d75
SHA1 (patch-ad) = dee546ca499fa4fb534f137d58fcbbb800b244d3
diff -r f326e3d187b7 -r a6e31e48ea86 sysutils/rtty/patches/patch-aa
--- a/sysutils/rtty/patches/patch-aa Sun Dec 17 19:34:52 2006 +0000
+++ b/sysutils/rtty/patches/patch-aa Sun Dec 17 20:09:26 2006 +0000
@@ -1,10 +1,8 @@
-$NetBSD: patch-aa,v 1.3 1999/04/09 08:33:51 agc Exp $
-
-Make this work on NetBSD and Solaris.
+$NetBSD: patch-aa,v 1.4 2006/12/17 20:09:26 minskim Exp $
---- Makefile.orig Fri Apr 9 09:25:00 1999
-+++ Makefile Fri Apr 9 09:27:50 1999
-@@ -23,7 +23,7 @@
+--- Makefile.orig 1996-08-23 23:46:42.000000000 +0000
++++ Makefile
+@@ -23,7 +23,7 @@ DESTROOT =
DESTPATH = $(DESTROOT)/usr/local/rtty
DESTBIN = $(DESTPATH)/bin
@@ -13,7 +11,7 @@
CDEBUG = -O -g
#
# use -U to undefine, -D to define
-@@ -35,15 +35,24 @@
+@@ -35,16 +35,25 @@ CDEBUG = -O -g
# NO_SOCKADDR_LEN if your "struct sockaddr_in" lacks a sin_len field
# NO_HSTRERROR if your C library has no hstrerror() function
#
@@ -24,12 +22,12 @@
-CFLAGS = $(CDEBUG) $(CDEFS) -I/usr/local/include
-LIBS =
+CFLAGS+= $(CDEBUG) $(CDEFS)
-+LIBS = -lcrypt
++#LIBS =
#(if WANT_TCPIP defined and this isn't in your libc)
# -lresolv
#(if the resolver needs it, which BIND>=4.9's will on BSD>=4.4 systems)
# -l44bsd
-+
+
+OPSYS!= uname -s
+
+.if ${OPSYS} == "NetBSD"
@@ -38,6 +36,7 @@
+LIBS+= -lsocket -lnsl
+CDEFS+= -DNEED_INET_ATON
+.endif
-
++
BINARY = ttysrv rtty locbrok
SCRIPT = Startup console startsrv agelogs agelog
+ ALL = $(BINARY) $(SCRIPT)
Home |
Main Index |
Thread Index |
Old Index