summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin>2014-09-23 18:55:24 +0000
committerjperkin <jperkin>2014-09-23 18:55:24 +0000
commit850c0e68a65a757500341521307109bd8375b0f9 (patch)
treeeaf704a4267405485daa415fc04bc0f42d2b2740
parentf25ed1b533343f241cf89acce522636f586443a9 (diff)
downloadpkgsrc-850c0e68a65a757500341521307109bd8375b0f9.tar.gz
SunOS needs -lsocket -lnsl.
-rw-r--r--games/tanked/Makefile5
-rw-r--r--graphics/tesseract/Makefile4
2 files changed, 7 insertions, 2 deletions
diff --git a/games/tanked/Makefile b/games/tanked/Makefile
index 94fcca666e5..886e7d51375 100644
--- a/games/tanked/Makefile
+++ b/games/tanked/Makefile
@@ -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 @@ USE_TOOLS= imake
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 --git a/graphics/tesseract/Makefile b/graphics/tesseract/Makefile
index 3d9f589ac99..f6dd93aac99 100644
--- a/graphics/tesseract/Makefile
+++ b/graphics/tesseract/Makefile
@@ -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 @@ HOMEPAGE= http://code.google.com/p/tesseract-ocr/
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