openbsd-ports/games/gargoyle/patches/patch-tads_Jamfile
jasper d58090ce1a - update gargoyle to 2001.1
- use new style DEPENDS

ok sthen@ (MAINTAINER)
2010-10-23 09:15:16 +00:00

29 lines
646 B
Plaintext

$OpenBSD: patch-tads_Jamfile,v 1.3 2010/10/23 09:15:16 jasper Exp $
--- tads/Jamfile.orig Mon Sep 13 16:53:08 2010
+++ tads/Jamfile Mon Oct 18 00:09:08 2010
@@ -32,6 +32,15 @@ if $(OS) = MACOSX
LINKFLAGS = -headerpad_max_install_names $(MAINARCH) $(ALTARCH) ;
}
+if $(OS) = OPENBSD
+{
+ SubDirCcFlags
+ -DOS_USHORT_DEFINED
+ -DOS_UINT_DEFINED
+ -DOS_ULONG_DEFINED
+ ;
+}
+
SUBDIRC++FLAGS = $(SUBDIRCCFLAGS) ;
SEARCH_SOURCE =
@@ -81,7 +90,7 @@ Main tadsr :
LinkLibraries tadsr : libtads2 libtads3 ;
-LINK on tadsr$(SUFEXE) = $(C++) ;
+LINK on tadsr$(SUFEXE) = $(C++) -lstdc++ ;
APPS += tadsr ;