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 | 02b1fccc75bcd5955b69a6e2454d475e206a2c42 (patch) | |
tree | 91199e34cc32e2dbdc852e21ac36ecd4860c0476 /sysutils | |
parent | c0245711fd9734d53a64c27fb5936c5186561b9f (diff) | |
download | pkgsrc-02b1fccc75bcd5955b69a6e2454d475e206a2c42.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 |