summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiedi <wiedi>2017-07-02 11:12:01 +0000
committerwiedi <wiedi>2017-07-02 11:12:01 +0000
commita67080ba28cdf6fe7c8a145f624262854cb2ffcf (patch)
tree156dc5c8f27693ddc8459e7d4645413eb44c00f4
parentedc11ea96691b64e493b870617faabc5ba3f7d52 (diff)
downloadpkgsrc-a67080ba28cdf6fe7c8a145f624262854cb2ffcf.tar.gz
needs EXTENSIONS for siginfo_t on SunOS
-rw-r--r--math/teapot/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/math/teapot/Makefile b/math/teapot/Makefile
index dfbde2e683a..5660f2dc30b 100644
--- a/math/teapot/Makefile
+++ b/math/teapot/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2017/02/20 15:03:50 hauke Exp $
+# $NetBSD: Makefile,v 1.7 2017/07/02 11:12:01 wiedi Exp $
DISTNAME= teapot-2.3.0
PKGREVISION= 2
@@ -14,5 +14,8 @@ USE_LANGUAGES= c c++
USE_CMAKE= yes
CMAKE_ARGS+= -DENABLE_HELP=NO
+CFLAGS.SunOS+= -D__EXTENSIONS__
+LDFLAGS.SunOS+= -lnsl
+
.include "../../devel/ncursesw/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"