summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiedi <wiedi>2014-02-08 23:34:05 +0000
committerwiedi <wiedi>2014-02-08 23:34:05 +0000
commitba8b7e4412fb8be8a4cb1b8327caf347da508bb9 (patch)
treebd89b27e4fcc3cac9dc77a5f8391dda6b9bb2ce1
parent396616dc9bb81352ab48e84f46bddcc215ac5949 (diff)
downloadpkgsrc-ba8b7e4412fb8be8a4cb1b8327caf347da508bb9.tar.gz
fix build on SunOS
-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]*-*