summaryrefslogtreecommitdiff
path: root/games/powwow/patches/patch-ab
blob: c88c8810caf83092b79fdf6b15c480fcfd68d0cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ab,v 1.3 2004/05/23 23:28:29 danw Exp $

--- make_it.orig	Thu Jan 13 22:50:01 2000
+++ make_it	Wed Feb 13 16:21:44 2002
@@ -50,7 +50,14 @@
                 CC='gcc'
                 CF='-O2 -fomit-frame-pointer -DUSE_RANDOM -DUSE_VT100 -DLINES=25'
                 LF='';;
-
+	NetBSD|Darwin)
+		echo "Making Powwow for $OS"
+		CC='gcc'
+		CF='-O2 -pipe -DUSE_SGTTY -DBSD_LIKE -DUSE_RANDOM -DUSE_REGEXP'
+		if [ ! -z "$POWWOW_DIR" ]; then
+		  CF="$CF -DPOWWOW_DIR=\\\"$POWWOW_DIR\\\""
+		fi
+	 	;;
 	*)
 		echo 'UNSUPPORTED OS!!! Trying with defaults.';;
 esac