pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/gethost Added Solaris libraries. Removed patch-aa,...
details: https://anonhg.NetBSD.org/pkgsrc/rev/83b3cc4832c0
branches: trunk
changeset: 537691:83b3cc4832c0
user: rillig <rillig%pkgsrc.org@localhost>
date: Mon Jan 14 02:08:25 2008 +0000
description:
Added Solaris libraries. Removed patch-aa, since it is easier to just
override do-build.
diffstat:
net/gethost/Makefile | 7 ++++++-
net/gethost/distinfo | 3 +--
net/gethost/patches/patch-aa | 12 ------------
3 files changed, 7 insertions(+), 15 deletions(-)
diffs (48 lines):
diff -r 389533a26ead -r 83b3cc4832c0 net/gethost/Makefile
--- a/net/gethost/Makefile Mon Jan 14 02:04:58 2008 +0000
+++ b/net/gethost/Makefile Mon Jan 14 02:08:25 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2007/01/03 15:51:24 tv Exp $
+# $NetBSD: Makefile,v 1.8 2008/01/14 02:08:25 rillig Exp $
DISTNAME= gethost-0.03
CATEGORIES= net
@@ -12,6 +12,11 @@
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
BUILD_TARGET= gethost
+LIBS.SunOS= -lnsl -lresolv -lsocket
+
+do-build:
+ cd ${WRKSRC} && env ${MAKE_ENV} cc -o gethost gethost.c ${CFLAGS} ${LDFLAGS} ${LIBS}
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gethost ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/gethost.1 ${PREFIX}/${PKGMANDIR}/man1
diff -r 389533a26ead -r 83b3cc4832c0 net/gethost/distinfo
--- a/net/gethost/distinfo Mon Jan 14 02:04:58 2008 +0000
+++ b/net/gethost/distinfo Mon Jan 14 02:08:25 2008 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 12:13:46 agc Exp $
+$NetBSD: distinfo,v 1.3 2008/01/14 02:08:25 rillig Exp $
SHA1 (gethost-0.03.tar.gz) = af14f462f3019b5d133d7677e015fa0db2db65b9
RMD160 (gethost-0.03.tar.gz) = 33d15db6bb2846dbea766c78b628408ebd50db08
Size (gethost-0.03.tar.gz) = 4226 bytes
-SHA1 (patch-aa) = ea90d5d713088c9dc17df328dbc2e59445c9a502
diff -r 389533a26ead -r 83b3cc4832c0 net/gethost/patches/patch-aa
--- a/net/gethost/patches/patch-aa Mon Jan 14 02:04:58 2008 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/07/10 02:12:00 kim Exp $
-
---- Makefile.orig Fri Jul 5 20:40:46 2002
-+++ Makefile Tue Jul 9 22:08:03 2002
-@@ -1,5 +1,5 @@
--CC = gcc
--CFLAGS = -g -Wall -ansi -pedantic
-+#CC = gcc
-+#CFLAGS = -g -Wall -ansi -pedantic
-
- gethost: gethost.c
- $(CC) $(CFLAGS) -o gethost gethost.c
Home |
Main Index |
Thread Index |
Old Index