aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-08-13 17:49:15 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-08-13 17:49:15 +0000
commita3658c9e7cafaebf7f736a36f1ac4cefad0bb7c3 (patch)
tree2284ebdae2b89af58150e1fb55e074e701b449fe /lang
parentdd00d19f0e5c7afbb84383ebf658b008a8c01a98 (diff)
downloadports-a3658c9e7cafaebf7f736a36f1ac4cefad0bb7c3.tar.gz
ports-a3658c9e7cafaebf7f736a36f1ac4cefad0bb7c3.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/glibstdc++28/Makefile6
-rw-r--r--lang/glibstdc++28/files/osfcn.h19
-rw-r--r--lang/glibstdc++28/pkg-plist1
3 files changed, 24 insertions, 2 deletions
diff --git a/lang/glibstdc++28/Makefile b/lang/glibstdc++28/Makefile
index a401f1283eff..13531fb3b625 100644
--- a/lang/glibstdc++28/Makefile
+++ b/lang/glibstdc++28/Makefile
@@ -4,7 +4,7 @@
# Date created: 03 Mar 1998
# Whom: David O'Brien <obrien@NUXI.com>
#
-# $Id: Makefile,v 1.3 1998/04/20 10:36:05 obrien Exp $
+# $Id: Makefile,v 1.4 1998/08/07 22:49:30 asami Exp $
#
DISTNAME= libstdc++-2.8.1.1
@@ -34,10 +34,12 @@ pre-install:
post-install:
${RM} -rf ${PREFIX}/${GCC28DIR}/include/g++
${MV} ${PREFIX}/include/g++ \
- ${PREFIX}/${GCC28DIR}//include
+ ${PREFIX}/${GCC28DIR}/include
${MV} ${PREFIX}/lib/libiberty.a \
${PREFIX}/${GCC28DIR}
${MV} ${PREFIX}/lib/libstdc++.a \
${PREFIX}/${GCC28DIR}
+ ${INSTALL_DATA} ${FILESDIR}/osfnc.h \
+ ${GCC28SUBDIR}/include/g++
.include <bsd.port.mk>
diff --git a/lang/glibstdc++28/files/osfcn.h b/lang/glibstdc++28/files/osfcn.h
new file mode 100644
index 000000000000..094af380e6bc
--- /dev/null
+++ b/lang/glibstdc++28/files/osfcn.h
@@ -0,0 +1,19 @@
+/* This file is taken from the glibc++ 2.7.x as installed on a
+ FreeBSD 2.27 system */
+
+#ifndef OSFCN_H
+#define OSFCN_H 1
+
+/* #include <std.h> */
+#include <time.h>
+#include <sys/types.h>
+#if _G_HAVE_SYS_SOCKET
+#include <sys/socket.h>
+#endif
+#if _G_HAVE_SYS_RESOURCE
+#include <sys/time.h>
+#include <sys/resource.h>
+#endif
+
+
+#endif
diff --git a/lang/glibstdc++28/pkg-plist b/lang/glibstdc++28/pkg-plist
index d1fab2f5e5ce..742ddc7c9357 100644
--- a/lang/glibstdc++28/pkg-plist
+++ b/lang/glibstdc++28/pkg-plist
@@ -22,6 +22,7 @@
%%GCC28SUBDIR%%/include/g++/istream.h
%%GCC28SUBDIR%%/include/g++/libio.h
%%GCC28SUBDIR%%/include/g++/libioP.h
+%%GCC28SUBDIR%%/include/g++/osfnc.h
%%GCC28SUBDIR%%/include/g++/ostream.h
%%GCC28SUBDIR%%/include/g++/parsestream.h
%%GCC28SUBDIR%%/include/g++/pfstream.h