DragonFly BSD
DragonFly submit List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

perl + binutils214 removal


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Sat, 8 Jan 2005 21:18:18 +0100
Mail-followup-to: submit@crater.dragonflybsd.org

Hi all,
attached patch to etc/Makefile should remove perl and binutils214.
Please test it. If noone complains, I'll commit this tomorrow night.

Joerg
Index: Makefile
===================================================================
RCS file: /home/joerg/wd/repository/dragonflybsd/src/etc/Makefile,v
retrieving revision 1.34
diff -u -r1.34 Makefile
--- Makefile	18 Dec 2004 20:53:19 -0000	1.34
+++ Makefile	8 Jan 2005 20:16:30 -0000
@@ -137,7 +137,6 @@
 	rm -f ${DESTDIR}/usr/include/dev/netif/wi/if_wavelan_ieee.h
 	rm -f ${DESTDIR}/usr/include/net/if_ieee80211.h
 .endif
-.if exists(${DESTDIR}/usr/libexec/binutils212/elf/as)
 	ldconfig -m ${DESTDIR}/usr/lib/gcc2
 	rm -rf ${DESTDIR}/usr/lib/gcc3
 	rm -rf ${DESTDIR}/usr/libexec/gcc3
@@ -166,16 +165,31 @@
 	rm -f ${DESTDIR}/usr/bin/makewhatis
 	rm -f ${DESTDIR}/usr/sbin/prebind
 	rm -f ${DESTDIR}/modules/checkpt.ko
-	ldconfig -R
-.endif
-.if exists(${DESTDIR}/usr/share/examples/bc)
+	rm -f ${DESTDIR}/usr/lib/binutils214
+	rm -rf ${DESTDIR}/usr/libdata/perl
+	csh -c "rm -f ${DESTDIR}/usr/bin/{find2perl,perl5,perl5.00503,pod2latex}"
+	csh -c "rm -f ${DESTDIR}/usr/bin/{pod2text,sperl5,sperl5.00503,splain,suidperl}"
+.for prog in a2p c2ph h2ph h2xs perlbug perlcc pl2pm pod2html pod2man s2p
+	rm -f ${DESTDIR}/usr/bin/${prog}
+	rm -f ${DESTDIR}/usr/share/man/man1/${prog}.1.gz
+.endfor
+	csh -c "rm -f ${DESTDIR}/usr/lib/{libperl.a,libperl.so,libperl.so.3,libperl_p.a}"
+	rm -f ${DESTDIR}/usr/share/man/man1/perl.1.gz
+.for man in 5004delta apio book bot call data debug delta diag dsc embed faq \
+	    faq.1 faq2 faq3 faq4 faq5 faq6 faq7 faq8 faq9 form func guts hist \
+	    ipc locale lol mod modinstall modlib obj op opentut pod port re \
+	    ref reftut run sec style sub syn thrtut tie toc toot trap var xs \
+	    xstut 
+	rm -f ${DESTDIR}/usr/share/man/man1/perl${man}.1.gz
+.endfor
+	rm -rf ${DESTDIR}/usr/share/perl
 	rm -rf ${DESTDIR}/usr/share/examples/bc
-.endif
 .if exists(${DESTDIR}/usr/share/info/dc.info.gz)
 	gzip -d ${DESTDIR}/usr/share/info/dc.info.gz
 	install-info --delete ${DESTDIR}/usr/share/info/dc.info ${DESTDIR}/usr/share/info/dir
 	rm -f ${DESTDIR}/usr/share/info/dc.info ${DESTDIR}/usr/share/info/dc.info.gz
 .endif
+	ldconfig -R
 
 distribution:
 	cd ${.CURDIR}; \


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]