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/6843394fdcff
branches: trunk
changeset: 395341:6843394fdcff
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 0a4c61635bae -r 6843394fdcff 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