summaryrefslogtreecommitdiff
path: root/lang/rcfunge
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2014-02-08 23:34:05 +0000
committerwiedi <wiedi@pkgsrc.org>2014-02-08 23:34:05 +0000
commit9bf57ca34f60531db2dce652747eda4299a94107 (patch)
treebd89b27e4fcc3cac9dc77a5f8391dda6b9bb2ce1 /lang/rcfunge
parent91fecb35d1f1daa985686dcee8842d57962065ca (diff)
downloadpkgsrc-9bf57ca34f60531db2dce652747eda4299a94107.tar.gz
fix build on SunOS
Diffstat (limited to 'lang/rcfunge')
-rw-r--r--lang/rcfunge/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/rcfunge/Makefile b/lang/rcfunge/Makefile
index c5a25a924f3..620cd9e142a 100644
--- a/lang/rcfunge/Makefile
+++ b/lang/rcfunge/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2012/10/02 20:11:51 asau Exp $
+# $NetBSD: Makefile,v 1.4 2014/02/08 23:34:05 wiedi Exp $
#
DISTNAME= rcfunge2
@@ -17,6 +17,9 @@ WRKSRC= ${WRKDIR}/rcfunge
BUILD_TARGET= funge
INSTALLATION_DIRS= bin
+CFLAGS.SunOS+= -Du_int32_t=uint32_t
+LDFLAGS.SunOS+= -lsocket -lnsl
+
# keypad(3) return value was fixed after -5 branch (might be pulled up)
INCOMPAT_CURSES+= NetBSD-[0-4]*-* NetBSD-5.[0-8]*-*