pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/teeworlds teeworlds: fix SunOS build by linking ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/71ae41f08b6b
branches:  trunk
changeset: 336586:71ae41f08b6b
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Thu Jul 18 10:46:23 2019 +0000

description:
teeworlds: fix SunOS build by linking network libs

diffstat:

 games/teeworlds/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r ab4a72f24283 -r 71ae41f08b6b games/teeworlds/Makefile
--- a/games/teeworlds/Makefile  Thu Jul 18 10:46:14 2019 +0000
+++ b/games/teeworlds/Makefile  Thu Jul 18 10:46:23 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2019/07/01 14:01:27 nia Exp $
+# $NetBSD: Makefile,v 1.12 2019/07/18 10:46:23 wiedi Exp $
 
 DISTNAME=      teeworlds-0.7.3.1-src
 PKGNAME=       ${DISTNAME:S/-src//}
@@ -15,6 +15,8 @@
 USE_CMAKE=     yes
 USE_TOOLS+=    pkg-config
 
+LDFLAGS.SunOS+=        -lsocket -lnsl
+
 INSTALLATION_DIRS+=    share/appdata
 INSTALLATION_DIRS+=    share/applications
 .for size in 256 128 48 32 24 16



Home | Main Index | Thread Index | Old Index