summaryrefslogtreecommitdiff
path: root/devel/cvsclone
diff options
context:
space:
mode:
authorjperkin <jperkin>2013-12-10 12:06:33 +0000
committerjperkin <jperkin>2013-12-10 12:06:33 +0000
commita807d17331965db352ecaae1eebbd5dca160e9c4 (patch)
tree7f9bdc2e4a37b45ac1e94f30ce68c149e3190b95 /devel/cvsclone
parent4a9bfea957a26e1f615e8b08e4b1a3728461b1bc (diff)
downloadpkgsrc-a807d17331965db352ecaae1eebbd5dca160e9c4.tar.gz
Pass socket libraries on SunOS. Patch from Sebastian Wiedenroth.
Diffstat (limited to 'devel/cvsclone')
-rw-r--r--devel/cvsclone/Makefile6
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: