pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/ham/predict predict: fix build on SunOS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/741f6d41b1bc
branches:  trunk
changeset: 333341:741f6d41b1bc
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Sun May 05 21:44:58 2019 +0000

description:
predict: fix build on SunOS

diffstat:

 ham/predict/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r d28cd296e6cb -r 741f6d41b1bc ham/predict/Makefile
--- a/ham/predict/Makefile      Sun May 05 21:09:11 2019 +0000
+++ b/ham/predict/Makefile      Sun May 05 21:44:58 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2018/09/29 14:01:58 tnn Exp $
+# $NetBSD: Makefile,v 1.4 2019/05/05 21:44:58 wiedi Exp $
 #
 
 DISTNAME=      predict-2.2.3
@@ -14,6 +14,8 @@
 FAKE_NCURSES=  yes
 USE_LANGUAGES= c
 
+LDFLAGS.SunOS+=        -lsocket -lnsl
+
 do-configure:
        printf "const char predictpath[] = \"${PREFIX}/share/predict/\";\n" > "${WRKSRC}/predict.h"
        printf "const int soundcard = 1;\n" >> "${WRKSRC}/predict.h"



Home | Main Index | Thread Index | Old Index