summaryrefslogtreecommitdiff
path: root/sysutils/dog/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2003-09-23 13:34:44 +0000
committerwiz <wiz>2003-09-23 13:34:44 +0000
commita6bf3dfbd7ec3686c9356fd05f09bc98fa71e314 (patch)
tree70b5be7058c53689867e603420233a3fb84c82c0 /sysutils/dog/Makefile
parent1b14f4808502f174198503f2f6a2f268b86b4d56 (diff)
downloadpkgsrc-a6bf3dfbd7ec3686c9356fd05f09bc98fa71e314.tar.gz
Fix build on Solaris. From Jonathan Perkin in PR 22907.
Diffstat (limited to 'sysutils/dog/Makefile')
-rw-r--r--sysutils/dog/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/sysutils/dog/Makefile b/sysutils/dog/Makefile
index 5ddba47307c..18afe667656 100644
--- a/sysutils/dog/Makefile
+++ b/sysutils/dog/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2003/07/17 22:53:28 grant Exp $
+# $NetBSD: Makefile,v 1.6 2003/09/23 13:34:44 wiz Exp $
# FreeBSD Id: ports/misc/dog/Makefile,v 1.1 2000/06/10 05:45:34 will Exp
DISTNAME= dog-1.7
@@ -12,4 +12,11 @@ COMMENT= Dog writes the contents of each given file, URL, or stdin
USE_GMAKE= yes
ALL_TARGET= dog
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+LDFLAGS+= -lsocket -lnsl
+MAKE_ENV+= OBJS="getopt.o getopt1.o"
+.endif
+
.include "../../mk/bsd.pkg.mk"