pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/istgt fix build on SunOS
details: https://anonhg.NetBSD.org/pkgsrc/rev/e97f261576bd
branches: trunk
changeset: 364538:e97f261576bd
user: wiedi <wiedi%pkgsrc.org@localhost>
date: Wed Jun 28 09:36:20 2017 +0000
description:
fix build on SunOS
diffstat:
net/istgt/Makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 422fa61d9a68 -r e97f261576bd net/istgt/Makefile
--- a/net/istgt/Makefile Wed Jun 28 09:11:39 2017 +0000
+++ b/net/istgt/Makefile Wed Jun 28 09:36:20 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2016/10/02 14:03:09 mef Exp $
+# $NetBSD: Makefile,v 1.17 2017/06/28 09:36:20 wiedi Exp $
#
DISTNAME= istgt-20141125
@@ -31,6 +31,9 @@
RCD_SCRIPTS= istgt
INSTALLATION_DIRS+= bin ${EG_DIR} ${PKGMANDIR}/man1
+CPPFLAGS.SunOS+= -D_POSIX_PTHREAD_SEMANTICS
+LDFLAGS.SunOS+= -lsocket -lnsl -fstack-protector
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/istgt ${DESTDIR}${PREFIX}/bin/istgt
${INSTALL_PROGRAM} ${WRKSRC}/src/istgtcontrol \
Home |
Main Index |
Thread Index |
Old Index