summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorskrll <skrll@pkgsrc.org>2000-10-12 19:07:06 +0000
committerskrll <skrll@pkgsrc.org>2000-10-12 19:07:06 +0000
commit54367d8e8a7d3002623c496265f3423c2b29f7e1 (patch)
tree595fe27e6abd37e19ffdd17f89cb463b7eba2e60 /sysutils
parentbb5a5fb25fe954ff9d2e5147ce01824d54755f6c (diff)
downloadpkgsrc-54367d8e8a7d3002623c496265f3423c2b29f7e1.tar.gz
Make sure that -Wl does the right thing on a.out.
Make sure that an -fPIC c++rt0 is pulled in for sparc<1.4.3 Fixes: pkg/11166, pkg/10190, pkg/11189, and port-sparc/10846
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/c++rt0/Makefile4
-rw-r--r--sysutils/c++rt0/pkg/PLIST6
2 files changed, 2 insertions, 8 deletions
diff --git a/sysutils/c++rt0/Makefile b/sysutils/c++rt0/Makefile
index 8c90de2199a..552f189c44a 100644
--- a/sysutils/c++rt0/Makefile
+++ b/sysutils/c++rt0/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2000/10/05 14:11:57 hubertf Exp $
+# $NetBSD: Makefile,v 1.3 2000/10/12 19:07:07 skrll Exp $
#
DISTNAME= c++rt0-1.0
@@ -22,7 +22,5 @@ do-install:
${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"
diff --git a/sysutils/c++rt0/pkg/PLIST b/sysutils/c++rt0/pkg/PLIST
index 7e32cfbb331..405d4f1fe3f 100644
--- a/sysutils/c++rt0/pkg/PLIST
+++ b/sysutils/c++rt0/pkg/PLIST
@@ -1,9 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/04 15:13:03 hubertf Exp $
-@unexec rm -f /usr/lib/c++rt0.o
-@unexec mv /usr/lib/c++rt0.o.unPKGd /usr/lib/c++rt0.o
+@comment $NetBSD: PLIST,v 1.2 2000/10/12 19:07:07 skrll Exp $
lib/c++rt0/c++rt0.o.PIC
lib/c++rt0/c++rt0.o.pic
lib/c++rt0/README
-@exec mv /usr/lib/c++rt0.o /usr/lib/c++rt0.o.unPKGd
-@exec install -c -m 444 -o root -g wheel %B/c++rt0.o.PIC /usr/lib/c++rt0.o
@dirrm lib/c++rt0