diff options
author | hubertf <hubertf> | 2000-10-04 15:13:03 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2000-10-04 15:13:03 +0000 |
commit | e2e2eff1d6334b5629f8dc92a9d6f86300adf2ce (patch) | |
tree | e5bca2b410e52259d799f77795aff02fb8ded5dc /sysutils/c++rt0/Makefile | |
parent | 4ee0f2f756158ba525edb7e98aa9881c4f4c6a87 (diff) | |
download | pkgsrc-e2e2eff1d6334b5629f8dc92a9d6f86300adf2ce.tar.gz |
The default NetBSD/sparc /usr/lib/c++rt0.o is compiled -fpic. This
means it can only handle offsets up to a certain size, and can fail
to work in large programs. Compiling -fPIC allows larger offsets
and should permit large programs to function.
This package allows most of pkgsrc on NetBSD/sparc 1.4.x systems.
XXX I *think* that libtool needs to be rebuilt after installing this!
Diffstat (limited to 'sysutils/c++rt0/Makefile')
-rw-r--r-- | sysutils/c++rt0/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sysutils/c++rt0/Makefile b/sysutils/c++rt0/Makefile new file mode 100644 index 00000000000..906cba00e60 --- /dev/null +++ b/sysutils/c++rt0/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/10/04 15:13:03 hubertf Exp $ +# + +DISTNAME= c++rt0-1.0 +DISTFILES= c++rt0.o.PIC c++rt0.o.pic README +DIST_SUBDIR= c++rt0 +MASTER_SITES+= ftp://ftp.netbsd.org/pub/NetBSD/arch/sparc/c++rt0/ + +CATEGORIES= sysutils +MAINTAINER= hubertf@netbsd.org + +ONLY_FOR_PLATFORM= NetBSD-1.4*-sparc + +EXTRACT_ONLY= # empty +NO_PATCH= yes + +do-build: + @${ECHO} Nothing to do. + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/lib/c++rt0 + ${INSTALL_DATA} ${_DISTDIR}/c++rt0.o.pic ${PREFIX}/lib/c++rt0 + ${INSTALL_DATA} ${_DISTDIR}/c++rt0.o.PIC ${PREFIX}/lib/c++rt0 + ${INSTALL_DATA} ${_DISTDIR}/README ${PREFIX}/lib/c++rt0 + ${MV} /usr/lib/c++rt0.o /usr/lib/c++rt0.o.unPKGd + ${INSTALL} -c -m 444 -o root -g wheel ${PREFIX}/lib/c++rt0/c++rt0.o.PIC /usr/lib/c++rt0.o + +.include "../../mk/bsd.pkg.mk" |