openbsd-ports/games/gargoyle/patches/patch-tads_Jamfile
sthen e505315ec8 import games/gargoyle; some licenses missing and upstream didn't
reply so PERMIT_*=no for now.

Gargoyle is an IF player that supports all the major interactive
fiction formats. Most interactive fiction is distributed as portable
game files. These portable game files come in many formats. In the
past, you used to have to download a separate player (interpreter)
for each format of IF you wanted to play.

Gargoyle is based on the standard interpreters for the formats it
supports: Agility, Alan 2 and 3, Frotz (glk port), Glulxe, Hugo,
Level 9, Magnetic, Scare, Tads 2 and 3.  

Gargoyle cares about typography! In this computer age of typographical
poverty, where horrible fonts, dazzling colors, and inadequate white
space is God, Gargoyle dares to rebel!
2009-02-11 13:30:44 +00:00

29 lines
619 B
Plaintext

$OpenBSD: patch-tads_Jamfile,v 1.1.1.1 2009/02/11 13:30:44 sthen Exp $
--- tads/Jamfile.orig Mon Dec 22 15:04:02 2008
+++ tads/Jamfile Wed Jan 21 14:29:25 2009
@@ -26,6 +26,15 @@ if $(OS) = LINUX
;
}
+if $(OS) = OPENBSD
+{
+ SubDirCcFlags
+ -DOS_USHORT_DEFINED
+ -DOS_UINT_DEFINED
+ -DOS_ULONG_DEFINED
+ ;
+}
+
SUBDIRC++FLAGS = $(SUBDIRCCFLAGS) ;
SEARCH_SOURCE = [ FDirName $(SUBDIR) tads2 ] ;
@@ -74,7 +83,7 @@ Main tadsr :
LinkLibraries tadsr : libtads2 libtads3 ;
-LINK on tadsr$(SUFEXE) = $(C++) ;
+LINK on tadsr$(SUFEXE) = $(C++) -lstdc++ ;
APPS += tadsr ;