summaryrefslogtreecommitdiffstats
path: root/lang/glibstdc++28
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1998-08-13 17:49:15 +0000
committerobrien <obrien@FreeBSD.org>1998-08-13 17:49:15 +0000
commitff7288a01888859eeecaf442ecb4e122053cbf4e (patch)
tree44afb0e586d9297f1b2675f82e437901159d4a7d /lang/glibstdc++28
parentf35790eb3b2a8ed17d75c6d2637ed95041720bfb (diff)
downloadFreeBSD-ports-ff7288a01888859eeecaf442ecb4e122053cbf4e.zip
FreeBSD-ports-ff7288a01888859eeecaf442ecb4e122053cbf4e.tar.gz
Add ``osfnc.h'' from glibc++ 2.7.2 (of FBSD 2.2.7 fame) so
/usr/src/gnu/usr.bin/groff will compile.
Diffstat (limited to 'lang/glibstdc++28')
-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 a401f12..13531fb 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 0000000..094af38
--- /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 d1fab2f..742ddc7 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
OpenPOWER on IntegriCloud