Pass socket libraries on SunOS. Patch from Sebastian Wiedenroth.
This commit is contained in:
parent
efe846a265
commit
856609e0b1
1 changed files with 4 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue