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
|
# Date created: May 21 1998
|
||||||
# Whom: Angelos D. Keromytis
|
# 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
|
DISTNAME= sp-1.2.1
|
||||||
CATEGORIES= textproc
|
CATEGORIES= textproc
|
||||||
MASTER_SITES= ftp://ftp.jclark.com/pub/sp/
|
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.
|
# 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...
|
# 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.orig Sat Jul 19 22:50:06 1997
|
||||||
--- include/config.h Tue Oct 15 17:08:09 1996
|
+++ include/config.h Sun Oct 31 04:51:59 1999
|
||||||
***************
|
@@ -7,6 +7,16 @@
|
||||||
*** 7,12 ****
|
#define SP_INCLUDE_UNISTD_H
|
||||||
--- 7,18 ----
|
#define SP_POSIX_FILENAMES
|
||||||
#define SP_INCLUDE_UNISTD_H
|
|
||||||
#define SP_POSIX_FILENAMES
|
+#if (defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__))
|
||||||
|
+#define SP_HAVE_LOCALE
|
||||||
+ #if (defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__))
|
+#define SP_HAVE_SOCKET
|
||||||
+ #define SP_HAVE_LOCALE
|
+#define SP_MULTI_BYTE
|
||||||
+ #define SP_HAVE_SOCKET
|
+#endif
|
||||||
+ #define SP_MULTI_BYTE
|
+
|
||||||
+ #endif
|
+#ifdef __OpenBSD__
|
||||||
+
|
+#define SP_ANSI_LIB
|
||||||
#ifdef __GNUG__
|
+#endif
|
||||||
// It's not missing, but it pulls in libg++
|
+
|
||||||
#define SP_NEW_H_MISSING
|
#ifdef __GNUG__
|
||||||
|
// It's not missing, but it pulls in libg++
|
||||||
|
#define SP_NEW_H_MISSING
|
||||||
|
Loading…
Reference in New Issue
Block a user