diff options
author | wiedi <wiedi@pkgsrc.org> | 2019-05-05 21:44:58 +0000 |
---|---|---|
committer | wiedi <wiedi@pkgsrc.org> | 2019-05-05 21:44:58 +0000 |
commit | 78a81e801daf4d79f7b9ddc9a6c0f17fb1a5e1d6 (patch) | |
tree | 3d23f3b5a57937497916617788cf137b43d0d3bb /ham | |
parent | e172c03c46b295e12cf3f5c844ec109350aef0ca (diff) | |
download | pkgsrc-78a81e801daf4d79f7b9ddc9a6c0f17fb1a5e1d6.tar.gz |
predict: fix build on SunOS
Diffstat (limited to 'ham')
-rw-r--r-- | ham/predict/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ham/predict/Makefile b/ham/predict/Makefile index 5a5748297fd..106ae7a9ec9 100644 --- a/ham/predict/Makefile +++ b/ham/predict/Makefile @@ -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 @@ LICENSE= gnu-gpl-v2 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" |