diff options
author | tv <tv@pkgsrc.org> | 2006-11-28 16:42:51 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2006-11-28 16:42:51 +0000 |
commit | 69e52cdae9526e6e21b653ec03322d9eb33cb3dd (patch) | |
tree | 91199e34cc32e2dbdc852e21ac36ecd4860c0476 /sysutils | |
parent | cd6f2c332ca8099dc3bedb803e9cba1a2a3f709d (diff) | |
download | pkgsrc-69e52cdae9526e6e21b653ec03322d9eb33cb3dd.tar.gz |
Add getopt_long support on Interix too.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/dog/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sysutils/dog/Makefile b/sysutils/dog/Makefile index 9c9518b3025..fbb61906627 100644 --- a/sysutils/dog/Makefile +++ b/sysutils/dog/Makefile @@ -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 @@ BUILD_TARGET= dog .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 |