Fix compile problems (I hate c++); waiting for turans@ to verify
This commit is contained in:
parent
8034eb7abb
commit
adfd72514a
@ -3,15 +3,15 @@
|
||||
# Date created: May 21 1998
|
||||
# Whom: Angelos D. Keromytis
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.2 1999/10/31 06:36:03 turan Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 1999/10/31 10:10:32 angelos Exp $
|
||||
#
|
||||
|
||||
BROKEN= c++ syntax errors in entmgr_inst.cxx on i386.
|
||||
BROKEN= waiting for turans@ to verify
|
||||
|
||||
DISTNAME= sp-1.2.1
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= ftp://ftp.jclark.com/pub/sp/
|
||||
MAINTAINER= angelos@openbsd.org
|
||||
MAINTAINER= ports@openbsd.org
|
||||
|
||||
# The shared libsp only works on post 2.1.x systems.
|
||||
# shared C++ libraries appear to be broken on post 2.2.1 system too...
|
||||
|
@ -1,17 +1,19 @@
|
||||
*** include/config.h.orig Wed Jun 12 11:56:06 1996
|
||||
--- include/config.h Tue Oct 15 17:08:09 1996
|
||||
***************
|
||||
*** 7,12 ****
|
||||
--- 7,18 ----
|
||||
#define SP_INCLUDE_UNISTD_H
|
||||
#define SP_POSIX_FILENAMES
|
||||
--- include/config.h.orig Sat Jul 19 22:50:06 1997
|
||||
+++ include/config.h Sun Oct 31 04:51:59 1999
|
||||
@@ -7,6 +7,16 @@
|
||||
#define SP_INCLUDE_UNISTD_H
|
||||
#define SP_POSIX_FILENAMES
|
||||
|
||||
+ #if (defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__))
|
||||
+ #define SP_HAVE_LOCALE
|
||||
+ #define SP_HAVE_SOCKET
|
||||
+ #define SP_MULTI_BYTE
|
||||
+ #endif
|
||||
+#if (defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__))
|
||||
+#define SP_HAVE_LOCALE
|
||||
+#define SP_HAVE_SOCKET
|
||||
+#define SP_MULTI_BYTE
|
||||
+#endif
|
||||
+
|
||||
#ifdef __GNUG__
|
||||
// It's not missing, but it pulls in libg++
|
||||
#define SP_NEW_H_MISSING
|
||||
+#ifdef __OpenBSD__
|
||||
+#define SP_ANSI_LIB
|
||||
+#endif
|
||||
+
|
||||
#ifdef __GNUG__
|
||||
// It's not missing, but it pulls in libg++
|
||||
#define SP_NEW_H_MISSING
|
||||
|
Loading…
Reference in New Issue
Block a user