diff options
author | jperkin <jperkin@pkgsrc.org> | 2013-12-10 12:06:33 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2013-12-10 12:06:33 +0000 |
commit | 20a61574c91c8e912475ccd8284294229ea509fe (patch) | |
tree | 7f9bdc2e4a37b45ac1e94f30ce68c149e3190b95 /devel | |
parent | d5e2becf35235d70fb58bea2dc33480ae8323dd2 (diff) | |
download | pkgsrc-20a61574c91c8e912475ccd8284294229ea509fe.tar.gz |
Pass socket libraries on SunOS. Patch from Sebastian Wiedenroth.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cvsclone/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/cvsclone/Makefile b/devel/cvsclone/Makefile index d09cac643ea..2547b45842b 100644 --- a/devel/cvsclone/Makefile +++ b/devel/cvsclone/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2012/10/31 11:16:50 asau Exp $ +# $NetBSD: Makefile,v 1.4 2013/12/10 12:06:33 jperkin Exp $ # DISTNAME= cvsclone @@ -16,10 +16,12 @@ INSTALLATION_DIRS= bin WRKSRC= ${WRKDIR} USE_TOOLS+= lex +LDFLAGS.SunOS+= -lsocket -lnsl + do-build: cd ${WRKSRC} && \ ${LEX} cvsclone.l && \ - ${CC} ${CFLAGS} lex.yy.c -o cvsclone + ${CC} ${CFLAGS} lex.yy.c ${LDFLAGS} -o cvsclone cd ${WRKSRC} && ${HEAD} -88 cvsclone.l > README.txt do-install: |