summaryrefslogtreecommitdiff
path: root/net/gethost
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2008-01-14 02:08:25 +0000
committerrillig <rillig@pkgsrc.org>2008-01-14 02:08:25 +0000
commit16d55460e98518281ac210b07ae843fcb872930f (patch)
tree46b56af521b11fbffff5e91985984101e9a54cda /net/gethost
parentb9f3dc4fd95c775c5b2133566c5a9e9478e8f1cd (diff)
downloadpkgsrc-16d55460e98518281ac210b07ae843fcb872930f.tar.gz
Added Solaris libraries. Removed patch-aa, since it is easier to just
override do-build.
Diffstat (limited to 'net/gethost')
-rw-r--r--net/gethost/Makefile7
-rw-r--r--net/gethost/distinfo3
-rw-r--r--net/gethost/patches/patch-aa12
3 files changed, 7 insertions, 15 deletions
diff --git a/net/gethost/Makefile b/net/gethost/Makefile
index 75e9a456feb..8d57d55c10b 100644
--- a/net/gethost/Makefile
+++ b/net/gethost/Makefile
@@ -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 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
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 --git a/net/gethost/distinfo b/net/gethost/distinfo
index 1fb597624d2..6356fb6b249 100644
--- a/net/gethost/distinfo
+++ b/net/gethost/distinfo
@@ -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 --git a/net/gethost/patches/patch-aa b/net/gethost/patches/patch-aa
deleted file mode 100644
index 204f5e8b295..00000000000
--- a/net/gethost/patches/patch-aa
+++ /dev/null
@@ -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