pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/dog Add getopt_long support on Interix too.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d4f80ac702d3
branches:  trunk
changeset: 521944:d4f80ac702d3
user:      tv <tv%pkgsrc.org@localhost>
date:      Tue Nov 28 16:42:51 2006 +0000

description:
Add getopt_long support on Interix too.

diffstat:

 sysutils/dog/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r ec73d4b620c1 -r d4f80ac702d3 sysutils/dog/Makefile
--- a/sysutils/dog/Makefile     Tue Nov 28 16:42:05 2006 +0000
+++ b/sysutils/dog/Makefile     Tue Nov 28 16:42:51 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/02/05 23:10:49 joerg Exp $
+# $NetBSD: Makefile,v 1.12 2006/11/28 16:42:51 tv Exp $
 
 DISTNAME=      dog-1.7
 PKGREVISION=   1
@@ -14,8 +14,9 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-.if ${OPSYS} == "SunOS"
-LDFLAGS+=      -lsocket -lnsl
+LDFLAGS.SunOS+=        -lsocket -lnsl
+
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "Interix"
 MAKE_ENV+=     OBJS="getopt.o getopt1.o"
 .endif
 



Home | Main Index | Thread Index | Old Index