pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc SunOS needs -lsocket -lnsl.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/90b3fb250acf
branches:  trunk
changeset: 639709:90b3fb250acf
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Sep 23 18:55:24 2014 +0000

description:
SunOS needs -lsocket -lnsl.

diffstat:

 games/tanked/Makefile       |  5 ++++-
 graphics/tesseract/Makefile |  4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r 0f14e9d5d34f -r 90b3fb250acf games/tanked/Makefile
--- a/games/tanked/Makefile     Tue Sep 23 18:19:22 2014 +0000
+++ b/games/tanked/Makefile     Tue Sep 23 18:55:24 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2012/10/06 11:54:56 asau Exp $
+# $NetBSD: Makefile,v 1.20 2014/09/23 18:55:24 jperkin Exp $
 #
 
 DISTNAME=              tanked-0.90
@@ -16,6 +16,9 @@
 SETGIDGAME=            yes
 INSTALLATION_DIRS+=    bin
 
+OPSYSVARS+=            MAKE_ENV
+MAKE_ENV.SunOS+=       EXTRALIBS="-lsocket -lnsl"
+
 SPECIAL_PERMS=         bin/tanked ${SETGID_GAMES_PERMS}
 
 .for dir in maps logs
diff -r 0f14e9d5d34f -r 90b3fb250acf graphics/tesseract/Makefile
--- a/graphics/tesseract/Makefile       Tue Sep 23 18:19:22 2014 +0000
+++ b/graphics/tesseract/Makefile       Tue Sep 23 18:55:24 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2013/01/26 21:38:01 adam Exp $
+# $NetBSD: Makefile,v 1.13 2014/09/23 19:07:06 jperkin Exp $
 #
 
 DISTNAME=      tesseract-2.04
@@ -15,6 +15,8 @@
 COMMENT=       Commercial quality open source OCR engine
 LICENSE=       apache-2.0
 
+LDFLAGS.SunOS+=        -lsocket -lnsl
+
 INSTALLATION_DIRS=     libexec share/doc/tesseract share/tesseract
 
 GNU_CONFIGURE= yes



Home | Main Index | Thread Index | Old Index