*/*: treeclean stale/unmaintained packages

Closes: https://bugs.gentoo.org/885347
Closes: https://bugs.gentoo.org/885345
Closes: https://bugs.gentoo.org/885343
Closes: https://bugs.gentoo.org/885341
Closes: https://bugs.gentoo.org/885339
Closes: https://bugs.gentoo.org/885337
Closes: https://bugs.gentoo.org/885335
Closes: https://bugs.gentoo.org/885331
Closes: https://bugs.gentoo.org/885329
Closes: https://bugs.gentoo.org/869230
Closes: https://bugs.gentoo.org/860975
Closes: https://bugs.gentoo.org/859664
Closes: https://bugs.gentoo.org/900362
Closes: https://bugs.gentoo.org/887439
Closes: https://bugs.gentoo.org/887433
Closes: https://bugs.gentoo.org/855116
Closes: https://bugs.gentoo.org/855107
Closes: https://bugs.gentoo.org/897656
Closes: https://bugs.gentoo.org/887955
Closes: https://bugs.gentoo.org/885293
Closes: https://bugs.gentoo.org/847322
Closes: https://bugs.gentoo.org/843524
Closes: https://bugs.gentoo.org/860012
Closes: https://bugs.gentoo.org/852032
Closes: https://bugs.gentoo.org/887193
Closes: https://bugs.gentoo.org/859646
Closes: https://bugs.gentoo.org/901025
Closes: https://bugs.gentoo.org/921735
Closes: https://bugs.gentoo.org/901027
Closes: https://bugs.gentoo.org/887209
Closes: https://bugs.gentoo.org/859649
Closes: https://bugs.gentoo.org/855125
Closes: https://bugs.gentoo.org/921751
Closes: https://bugs.gentoo.org/859673
Closes: https://bugs.gentoo.org/799449
Closes: https://bugs.gentoo.org/901127
Closes: https://bugs.gentoo.org/921740
Closes: https://bugs.gentoo.org/901163
Closes: https://bugs.gentoo.org/887313
Closes: https://bugs.gentoo.org/847325
Closes: https://bugs.gentoo.org/884553
Closes: https://bugs.gentoo.org/859700
Closes: https://bugs.gentoo.org/857633
Closes: https://bugs.gentoo.org/857630
Closes: https://bugs.gentoo.org/857627
Closes: https://bugs.gentoo.org/857624
Closes: https://bugs.gentoo.org/884565
Closes: https://bugs.gentoo.org/855080
Closes: https://bugs.gentoo.org/855119
Closes: https://bugs.gentoo.org/901167
Closes: https://bugs.gentoo.org/887413
Closes: https://bugs.gentoo.org/861707
Closes: https://bugs.gentoo.org/859715
Closes: https://bugs.gentoo.org/901179
Closes: https://bugs.gentoo.org/901181
Closes: https://bugs.gentoo.org/901141
Closes: https://bugs.gentoo.org/887435
Closes: https://bugs.gentoo.org/859718
Closes: https://bugs.gentoo.org/901177
Closes: https://bugs.gentoo.org/890893
Closes: https://bugs.gentoo.org/901185
Closes: https://bugs.gentoo.org/887445
Closes: https://bugs.gentoo.org/884579
Closes: https://bugs.gentoo.org/901193
Closes: https://bugs.gentoo.org/859724
Closes: https://bugs.gentoo.org/886629
Closes: https://bugs.gentoo.org/859730
Closes: https://bugs.gentoo.org/861974
Closes: https://bugs.gentoo.org/887511
Closes: https://bugs.gentoo.org/861977
Closes: https://bugs.gentoo.org/861980
Closes: https://bugs.gentoo.org/887513
Closes: https://bugs.gentoo.org/897392
Closes: https://bugs.gentoo.org/861983
Closes: https://bugs.gentoo.org/861986
Closes: https://bugs.gentoo.org/861989
Closes: https://bugs.gentoo.org/861992
Closes: https://bugs.gentoo.org/861995
Closes: https://bugs.gentoo.org/887515
Closes: https://bugs.gentoo.org/861998
Closes: https://bugs.gentoo.org/862001
Closes: https://bugs.gentoo.org/887517
Closes: https://bugs.gentoo.org/862004
Closes: https://bugs.gentoo.org/862007
Closes: https://bugs.gentoo.org/862010
Closes: https://bugs.gentoo.org/862013
Closes: https://bugs.gentoo.org/862016
Closes: https://bugs.gentoo.org/862079
Closes: https://bugs.gentoo.org/915488
Closes: https://bugs.gentoo.org/884693
Closes: https://bugs.gentoo.org/901149
Closes: https://bugs.gentoo.org/855278
Closes: https://bugs.gentoo.org/921779
Closes: https://bugs.gentoo.org/921885
Closes: https://bugs.gentoo.org/835485
Closes: https://bugs.gentoo.org/887659
Closes: https://bugs.gentoo.org/834741
Closes: https://bugs.gentoo.org/884695
Closes: https://bugs.gentoo.org/901297
Closes: https://bugs.gentoo.org/807703
Closes: https://bugs.gentoo.org/862957
Closes: https://bugs.gentoo.org/922022
Closes: https://bugs.gentoo.org/923917
Closes: https://bugs.gentoo.org/923916
Closes: https://bugs.gentoo.org/923918
Closes: https://bugs.gentoo.org/901287
Closes: https://bugs.gentoo.org/852047
Closes: https://bugs.gentoo.org/852035
Closes: https://bugs.gentoo.org/860333
Closes: https://bugs.gentoo.org/848039
Closes: https://bugs.gentoo.org/897650
Closes: https://bugs.gentoo.org/849071
Closes: https://bugs.gentoo.org/842342
Closes: https://bugs.gentoo.org/860471
Closes: https://bugs.gentoo.org/887953
Closes: https://bugs.gentoo.org/863371
Closes: https://bugs.gentoo.org/887951
Closes: https://bugs.gentoo.org/860459
Closes: https://bugs.gentoo.org/901407
Closes: https://bugs.gentoo.org/847352
Closes: https://bugs.gentoo.org/922042
Closes: https://bugs.gentoo.org/860462
Closes: https://bugs.gentoo.org/901409
Closes: https://bugs.gentoo.org/897652
Closes: https://bugs.gentoo.org/848021
Closes: https://bugs.gentoo.org/901405
Closes: https://bugs.gentoo.org/887959
Closes: https://bugs.gentoo.org/901411
Closes: https://bugs.gentoo.org/887961
Closes: https://bugs.gentoo.org/860465
Closes: https://bugs.gentoo.org/885291
Closes: https://bugs.gentoo.org/901413
Closes: https://bugs.gentoo.org/887967
Closes: https://bugs.gentoo.org/860468
Closes: https://bugs.gentoo.org/863377
Closes: https://bugs.gentoo.org/922043
Closes: https://bugs.gentoo.org/901425
Closes: https://bugs.gentoo.org/863380
Closes: https://bugs.gentoo.org/847319
Closes: https://bugs.gentoo.org/863383
Closes: https://bugs.gentoo.org/860474
Closes: https://bugs.gentoo.org/887989
Closes: https://bugs.gentoo.org/860477
Closes: https://bugs.gentoo.org/887991
Closes: https://bugs.gentoo.org/901427
Closes: https://bugs.gentoo.org/887993
Closes: https://bugs.gentoo.org/901429
Closes: https://bugs.gentoo.org/887997
Closes: https://bugs.gentoo.org/860480
Closes: https://bugs.gentoo.org/897654
Closes: https://bugs.gentoo.org/922047
Closes: https://bugs.gentoo.org/887999
Closes: https://bugs.gentoo.org/897664
Closes: https://bugs.gentoo.org/860531
Closes: https://bugs.gentoo.org/784665
Closes: https://bugs.gentoo.org/860525
Closes: https://bugs.gentoo.org/888003
Closes: https://bugs.gentoo.org/860537
Closes: https://bugs.gentoo.org/922052
Closes: https://bugs.gentoo.org/897662
Closes: https://bugs.gentoo.org/901421
Closes: https://bugs.gentoo.org/785535
Closes: https://bugs.gentoo.org/784644
Closes: https://bugs.gentoo.org/804831
Closes: https://bugs.gentoo.org/885365
Closes: https://bugs.gentoo.org/922053
Closes: https://bugs.gentoo.org/840707
Closes: https://bugs.gentoo.org/836142
Closes: https://bugs.gentoo.org/836153
Closes: https://bugs.gentoo.org/783675
Closes: https://bugs.gentoo.org/888005
Closes: https://bugs.gentoo.org/887879
Closes: https://bugs.gentoo.org/860528
Closes: https://bugs.gentoo.org/901417
Closes: https://bugs.gentoo.org/922055
Closes: https://bugs.gentoo.org/842807
Closes: https://bugs.gentoo.org/810287
Closes: https://bugs.gentoo.org/888007
Closes: https://bugs.gentoo.org/860540
Closes: https://bugs.gentoo.org/885373
Closes: https://bugs.gentoo.org/888011
Closes: https://bugs.gentoo.org/800995
Closes: https://bugs.gentoo.org/885375
Closes: https://bugs.gentoo.org/863758
Closes: https://bugs.gentoo.org/809320
Closes: https://bugs.gentoo.org/809440
Closes: https://bugs.gentoo.org/863779
Closes: https://bugs.gentoo.org/901431
Closes: https://bugs.gentoo.org/860774
Closes: https://bugs.gentoo.org/860768
Closes: https://bugs.gentoo.org/901433
Closes: https://bugs.gentoo.org/852989
Closes: https://bugs.gentoo.org/885367
Closes: https://bugs.gentoo.org/860771
Closes: https://bugs.gentoo.org/901435
Closes: https://bugs.gentoo.org/887881
Closes: https://bugs.gentoo.org/901437
Closes: https://bugs.gentoo.org/784668
Closes: https://bugs.gentoo.org/901439
Closes: https://bugs.gentoo.org/901419
Closes: https://bugs.gentoo.org/888017
Closes: https://bugs.gentoo.org/888019
Closes: https://bugs.gentoo.org/901441
Closes: https://bugs.gentoo.org/885377
Closes: https://bugs.gentoo.org/901443
Closes: https://bugs.gentoo.org/807115
Closes: https://bugs.gentoo.org/885363
Closes: https://bugs.gentoo.org/888021
Closes: https://bugs.gentoo.org/888023
Closes: https://bugs.gentoo.org/901445
Closes: https://bugs.gentoo.org/888015
Closes: https://bugs.gentoo.org/887921
Closes: https://bugs.gentoo.org/863821
Closes: https://bugs.gentoo.org/907907
Closes: https://bugs.gentoo.org/887883
Closes: https://bugs.gentoo.org/908948
Closes: https://bugs.gentoo.org/908947
Closes: https://bugs.gentoo.org/908951
Closes: https://bugs.gentoo.org/892694
Closes: https://bugs.gentoo.org/801016
Closes: https://bugs.gentoo.org/922082
Closes: https://bugs.gentoo.org/852260
Closes: https://bugs.gentoo.org/901451
Closes: https://bugs.gentoo.org/922083
Closes: https://bugs.gentoo.org/860777
Closes: https://bugs.gentoo.org/901449
Closes: https://bugs.gentoo.org/901453
Closes: https://bugs.gentoo.org/921785
Closes: https://bugs.gentoo.org/860969
Closes: https://bugs.gentoo.org/817227
Closes: https://bugs.gentoo.org/921788
Closes: https://bugs.gentoo.org/921789
Closes: https://bugs.gentoo.org/835527
Closes: https://bugs.gentoo.org/897414
Closes: https://bugs.gentoo.org/921781
Closes: https://bugs.gentoo.org/897430
Closes: https://bugs.gentoo.org/848720
Closes: https://bugs.gentoo.org/883173
Closes: https://bugs.gentoo.org/921800
Closes: https://bugs.gentoo.org/921803
Closes: https://bugs.gentoo.org/921804
Closes: https://bugs.gentoo.org/921807
Closes: https://bugs.gentoo.org/901479
Closes: https://bugs.gentoo.org/901483
Closes: https://bugs.gentoo.org/901151
Closes: https://bugs.gentoo.org/896028
Closes: https://bugs.gentoo.org/921783
Closes: https://bugs.gentoo.org/897432
Closes: https://bugs.gentoo.org/905472
Closes: https://bugs.gentoo.org/921810
Closes: https://bugs.gentoo.org/843485
Closes: https://bugs.gentoo.org/921816
Closes: https://bugs.gentoo.org/921818
Closes: https://bugs.gentoo.org/921825
Closes: https://bugs.gentoo.org/921822
Closes: https://bugs.gentoo.org/816654
Closes: https://bugs.gentoo.org/921775
Closes: https://bugs.gentoo.org/921777
Closes: https://bugs.gentoo.org/848723
Closes: https://bugs.gentoo.org/921853
Closes: https://bugs.gentoo.org/921895
Closes: https://bugs.gentoo.org/921855
Closes: https://bugs.gentoo.org/897506
Closes: https://bugs.gentoo.org/921857
Closes: https://bugs.gentoo.org/880013
Closes: https://bugs.gentoo.org/897542
Closes: https://bugs.gentoo.org/921864
Closes: https://bugs.gentoo.org/922915
Closes: https://bugs.gentoo.org/921897
Closes: https://bugs.gentoo.org/921900
Closes: https://bugs.gentoo.org/921865
Closes: https://bugs.gentoo.org/887637
Closes: https://bugs.gentoo.org/839306
Closes: https://bugs.gentoo.org/921868
Closes: https://bugs.gentoo.org/921869
Closes: https://bugs.gentoo.org/862082
Closes: https://bugs.gentoo.org/921873
Closes: https://bugs.gentoo.org/897588
Closes: https://bugs.gentoo.org/901221
Closes: https://bugs.gentoo.org/921808
Closes: https://bugs.gentoo.org/897590
Closes: https://bugs.gentoo.org/848549
Closes: https://bugs.gentoo.org/921876
Closes: https://bugs.gentoo.org/921878
Closes: https://bugs.gentoo.org/921879
Closes: https://bugs.gentoo.org/921880
Closes: https://bugs.gentoo.org/921797
Closes: https://bugs.gentoo.org/862765
Closes: https://bugs.gentoo.org/921780
Closes: https://bugs.gentoo.org/921881
Closes: https://bugs.gentoo.org/921813
Closes: https://bugs.gentoo.org/921784
Closes: https://bugs.gentoo.org/800076
Closes: https://bugs.gentoo.org/921884
Closes: https://bugs.gentoo.org/822456

Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
Julien Roy
2024-02-22 19:46:50 -05:00
parent 48e042ef35
commit a6b3f15b1a
1906 changed files with 99 additions and 50951 deletions

View File

@@ -1,4 +0,0 @@
DIST aldor-1.2.0_p20190730.tar.gz 3037647 BLAKE2B 579350d9b6407506a396f42dd2408693dced58f1786cbf7b81b9ddc1b9b986f7f471b3d961c22ccbe9b7566a240de5a9af11f5cfdae1e69d25adb0fb0d1f7090 SHA512 39b1b6f9cd2e09de691c179dcce26e1d43205099f7fa9a9cd1a1ac5340fc85a616eab5887d310b5f9991e7296cfdfdf55b38cadabb7ceb7b6b135a09a5ee53d5
DIST aldor.el.nw 50217 BLAKE2B 12c822b608d995832028cc6c67126c71f05e50d941c0b22fd82fd95a1f968e64150f721982ff8e42f897811c17d2ee0b3135f5c9f57701f99bdce1f8be3fb82c SHA512 6a01873530269ff21afd494a00a8159e48e6199e9aff38259156b8ee8ce21256394629225d857d7d087fd02d1bed3d0de76812656f294f9eb322bed594f4d65e
DIST algebra.pdf 1618732 BLAKE2B baefdde2c4ece8f4e426724be1abb417a89de4f30b1a3885ab4d9bc911ab3d06bf57ab1b4f1ee04bc229957cf29d07bbd04e84473f80d359cc0d01eeb858618d SHA512 48cd108ff97fd28085c4c498a00dfba8e30736e97829f70a41ee03928bf12e3da8ff4c065ef3aa4d49689136ce54d701e6519e830941d81584f67bad13a76fea
DIST libaldor.pdf.gz 434487 BLAKE2B 629dbf284db72afb98a8bc1a44df63dc0a3394fdd4361ec48a0d4811f8e931384fc257ad8f3931b7966aee25b0a015062ef8c8ab4e0ebf5978b5deda58c00ab6 SHA512 9ed1f067dd4ee11e5a440f31a9a29eb9248fcfb4349005f42c230a97190853d17e423ce677894a478644ca4964d0ba857465adfe405092c1e6512ced452eedc3

View File

@@ -1,143 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
COMMIT="13e5b90eecc79ec6704efb333c4c100187520e80"
inherit autotools elisp-common java-pkg-opt-2 toolchain-funcs
DESCRIPTION="The Aldor Programming Language"
HOMEPAGE="http://pippijn.github.io/aldor/"
SRC_URI="
https://github.com/pippijn/aldor/archive/${COMMIT}.tar.gz -> ${P}.tar.gz
doc? (
http://aldor.org/docs/libaldor.pdf.gz
https://github.com/pippijn/aldor/files/5469932/algebra.pdf
)
emacs? ( http://hemmecke.de/aldor/aldor.el.nw )
"
S="${WORKDIR}/${PN}-${COMMIT}/aldor"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc emacs java"
PATCHES=(
"${FILESDIR}/${PN}-respect-cflags.patch"
"${FILESDIR}/${PN}-respect-ar.patch"
)
#is junit dep. only for test?
#TODO: choose a slot for junit
CDEPEND="
dev-libs/boehm-gc
emacs? ( app-editors/emacs:= )
java? ( dev-java/junit:= )
"
RDEPEND="
${CDEPEND}
java? ( virtual/jre:1.8 )
"
DEPEND="
${CDEPEND}
java? ( virtual/jdk:1.8 )
"
BDEPEND="
app-alternatives/yacc
doc? ( virtual/latex-base )
emacs? ( app-text/noweb )
"
DOCS=( AUTHORS README.building README.binary-only README.library ../README.md )
src_unpack() {
unpack "${P}.tar.gz"
if use doc; then
cp "${DISTDIR}/libaldor.pdf.gz" "${S}" || die
gunzip "${S}/libaldor.pdf.gz" || die
fi
if use emacs; then
cp "${DISTDIR}/aldor.el.nw" "${S}" || die
fi
}
src_prepare() {
tc-export CC
#should be conditional with boehm-gc
sed -e 's|-L /usr/X11/lib|-L /usr/X11/lib -lgc|g' -i aldor/src/aldor.conf || die
#fix hardcoded cc
sed -e "s|cc-name\", \"cc\"|cc-name\", \"${CC}\"|g" -i aldor/subcmd/unitools/unicl.c || die
default
eautoreconf
}
src_configure() {
#install headers in a subfolder to avoid collisions with another packages
#force boehm-gc for now, without it won't build ...
local myconf=(
--disable-static
--enable-libraries
--enable-shared
--includedir="${EPREFIX}/usr/include/aldor"
--prefix="${EPREFIX}/usr"
--with-boehm-gc
$(use_enable java)
$(use_with java java-junit)
)
econf "${myconf[@]}"
}
src_compile() {
if use doc; then
pushd "${S}/aldorug" || die
emake aldorug.pdf || die "make aldorug.pdf failed"
popd || die
pushd "${S}/lib/aldor/tutorial" || die
pdflatex tutorial.tex || die "make tutorial.pdf failed"
popd || die
fi
if use emacs; then
notangle "aldor.el.nw" > aldor.el || die
notangle -Rinit.el "aldor.el.nw" | sed -e '1s/^.*$/;; aldor mode/' > 64aldor-gentoo.el || die
if use doc; then
einfo "Documentation for the aldor emacs mode"
noweave "aldor.el.nw" > aldor-mode.tex || die
pdflatex aldor-mode.tex || die "make aldor-mode.pdf failed"
fi
fi
default
}
src_install() {
use doc && DOCS+=( aldorug/aldorug.pdf lib/aldor/tutorial/tutorial.pdf libaldor.pdf "${DISTDIR}/algebra.pdf" )
if use emacs; then
use doc && DOCS+=( aldor-mode.pdf )
#TODO: rename aldor.el
elisp-site-file-install aldor.el
elisp-site-file-install 64aldor-gentoo.el
fi
default
# Add information about ALDORROOT to environmental variables
cat > 99aldor <<- EOF
ALDORROOT="${EPREFIX}/usr"
EOF
doenvd 99aldor
}
pkg_postinst() {
use emacs && elisp-site-regen
}
pkg_prerm() {
[ -f "${SITELISP}/site-gentoo.el" ] && elisp-site-regen
}

View File

@@ -1,273 +0,0 @@
--- a/aldor/lib/libfoam/al/Makefile.in
+++ b/aldor/lib/libfoam/al/Makefile.in
@@ -38,7 +38,7 @@
all: libfoam.al
libfoam.al: runtime.ao
- $(AM_V_AR)ar cr $@ $<
+ $(AM_V_AR)${AR} cr $@ $<
all:
@grep 'fiFileInitializer(' runtime.c | grep -v rtexns > runtime-gets.txt || true
--- a/aldor/tools/unix/doranlib
+++ b/aldor/tools/unix/doranlib
@@ -4,6 +4,6 @@
hpux*) ;;
irix*) ;;
sun4os5*) ;;
-axposf*) ar tls $* > /dev/null ;;
+axposf*) ${AR} tls $* > /dev/null ;;
*) ranlib $*;;
esac
--- a/aldor/tools/unix/mkasys
+++ b/aldor/tools/unix/mkasys
@@ -12,8 +12,8 @@
echo "Dumping .ao files from $lib \n\tinto current directory."
-aos=`ar -t $lib`
-ar -x $lib
+aos=`${AR} -t $lib`
+${AR} -x $lib
for i in $aos
do
--- a/aldor/tools/unix/mklib.sh
+++ b/aldor/tools/unix/mklib.sh
@@ -17,13 +17,13 @@
fi
echo "Rebuilding $afile for $sys"
-for x in `ar t $alfile`;
+for x in `${AR} t $alfile`;
do
echo $x
uniar x $alfile $x
aldor -Csys=$sys -csmax=0 -fo -O $x
ofile=`basename $x .ao`.o
if [ ! -f $ofile ] ; then echo "Compile failed. exiting." ; exit 1 ; fi
- ar r $afile $ofile
+ ${AR} r $afile $ofile
rm $x $ofile
done
--- a/lib/algebra/src/test/Makefile.in
+++ b/lib/algebra/src/test/Makefile.in
@@ -26,7 +26,7 @@
$(addsuffix .test,$(tests)): %.test: %.ao
cp $(SUBLIB_DEPEND).al lib$(libraryname)_$*.al; \
- ar r lib$(libraryname)_$*.al $(addsuffix .ao, $(shell $(UNIQ) $*.dep)); \
+ ${AR} r lib$(libraryname)_$*.al $(addsuffix .ao, $(shell $(UNIQ) $*.dep)); \
$(DBG) $(aldorexedir)/aldor \
-Nfile=$(aldorsrcdir)/aldor.conf \
-Y. \
--- a/lib/axllib/test/ar2.sh
+++ b/lib/axllib/test/ar2.sh
@@ -20,11 +20,11 @@
$ALDOR -R $TMPDIR -F ao -F o triv[0-3].as 2>&1 | grep -v 'warning: conflicting types for built-in function' | grep -v "GC:"
echo '== Building an archive containing triv*.ao'
-ar cr $TMPDIR/lib/libtriv.al $TMPDIR/triv*.ao
+${AR} cr $TMPDIR/lib/libtriv.al $TMPDIR/triv*.ao
rm -f $TMPDIR/triv*.ao
echo '== Building an archive containing triv*.o'
-ar cr $TMPDIR/lib/libtriv.a $TMPDIR/triv*.$OBJ
+${AR} cr $TMPDIR/lib/libtriv.a $TMPDIR/triv*.$OBJ
rm -f $TMPDIR/triv*.$OBJ
echo '== Creating a client for the archive'
--- a/lib/axllib/test/ar3.sh
+++ b/lib/axllib/test/ar3.sh
@@ -20,7 +20,7 @@
$ALDOR -Mno-ALDOR_W_CantUseArchive $LM -l axllib -R $TMPDIR -F ao -F o triv*.as 2>&1 | grep -v "GC:" | grep -v "warning: conflicting types for built-in function"
echo '== Building an archive containing triv*.ao'
-ar cr $TMPDIR/lib/libtriv.al $TMPDIR/triv*.ao
+${AR} cr $TMPDIR/lib/libtriv.al $TMPDIR/triv*.ao
rm -f $TMPDIR/triv*.ao
echo '== Building an archive containing triv*.o'
@@ -28,7 +28,7 @@
if [ "$PL" = "win32msvc - Win32 [+] " ]; then
lib /nologo /out:`cygpath -m $TMPDIR`/lib/libtriv.lib `cygpath -m $TMPDIR`/triv*.obj
else
- ar cr $TMPDIR/lib/libtriv.a $TMPDIR/triv*.o
+ ${AR} cr $TMPDIR/lib/libtriv.a $TMPDIR/triv*.o
ranlib $TMPDIR/lib/libtriv.a
fi
--- a/lib/axllib/test/ar4.sh
+++ b/lib/axllib/test/ar4.sh
@@ -20,8 +20,8 @@
$ALDOR -Mno-ALDOR_W_CantUseArchive $LM -l axllib -R $TMPDIR -F ao -F o triv*.as 2>&1 | grep -v "GC:" | grep -v "warning: conflicting types for built-in function"
echo '== Building an archive containing triv*.ao'
-ar cr $TMPDIR/lib/libtriv.al $TMPDIR/triv*.ao
-ar d $TMPDIR/lib/libtriv.al triv0.ao
+${AR} cr $TMPDIR/lib/libtriv.al $TMPDIR/triv*.ao
+${AR} d $TMPDIR/lib/libtriv.al triv0.ao
rm -f $TMPDIR/triv*.ao
echo '== Building an archive containing triv*.o'
@@ -30,8 +30,8 @@
lib /nologo /out:`cygpath -m $TMPDIR`/lib/libtriv.lib `cygpath -m $TMPDIR`/triv*.obj
lib /nologo `cygpath -m $TMPDIR`/lib/libtriv.lib /REMOVE:`cygpath -m $TMPDIR`/triv0.obj
else
- ar cr $TMPDIR/lib/libtriv.a $TMPDIR/triv*.o
- ar d $TMPDIR/lib/libtriv.a triv0.o
+ ${AR} cr $TMPDIR/lib/libtriv.a $TMPDIR/triv*.o
+ ${AR} d $TMPDIR/lib/libtriv.a triv0.o
doranlib $TMPDIR/lib/libtriv.a
fi
rm -f $TMPDIR/triv*.o
--- a/lib/axllib/test/ar5.sh
+++ b/lib/axllib/test/ar5.sh
@@ -20,8 +20,8 @@
$ALDOR -laxllib -R $TMPDIR -F ao -F o triv*.as 2>&1 | grep -v "GC:" | grep -v "warning: conflicting types for built-in function"
echo '== Building an archive containing triv*.ao'
-ar cr $TMPDIR/lib/libtriv.al $TMPDIR/triv*.ao
-ar d $TMPDIR/lib/libtriv.al triv4.ao
+${AR} cr $TMPDIR/lib/libtriv.al $TMPDIR/triv*.ao
+${AR} d $TMPDIR/lib/libtriv.al triv4.ao
rm -f $TMPDIR/triv*.ao
echo '== Building an archive containing triv*.o'
@@ -29,8 +29,8 @@
lib /nologo /out:`cygpath -m $TMPDIR`/lib/libtriv.lib `cygpath -m $TMPDIR`/triv*.obj
lib /nologo `cygpath -m $TMPDIR`/lib/libtriv.lib /remove:`cygpath -m $TMPDIR`/triv4.obj
else
- ar cr $TMPDIR/lib/libtriv.a $TMPDIR/triv*.o
- ar d $TMPDIR/lib/libtriv.a triv4.o
+ ${AR} cr $TMPDIR/lib/libtriv.a $TMPDIR/triv*.o
+ ${AR} d $TMPDIR/lib/libtriv.a triv4.o
doranlib $TMPDIR/lib/libtriv.a
fi
rm -f $TMPDIR/triv*.o
--- a/lib/axllib/test/ar6.sh
+++ b/lib/axllib/test/ar6.sh
@@ -18,7 +18,7 @@
$ALDOR -R $TMPDIR -Y $TMPDIR -F ao numeral*.as | grep -v "GC:"
echo '== Building an archive containing numeral*.ao'
-ar cr $TMPDIR/lib/libnum.al $TMPDIR/numeral*.ao
+${AR} cr $TMPDIR/lib/libnum.al $TMPDIR/numeral*.ao
rm -f $TMPDIR/numeral*.ao
echo '== Creating a client for the archive'
--- a/lib/axllib/test/arrepl0.sh
+++ b/lib/axllib/test/arrepl0.sh
@@ -14,12 +14,12 @@
LOBREP=${LIB}/librepl.a
LOBREPLIB=${LIB}/librepl.lib
-ar rcv ${LOBREP} /dev/null
+${AR} rcv ${LOBREP} /dev/null
# 'ar rcv' avoids the archive creation warning from ar.
-ar rcv ${LAXLREP} /dev/null 2>&1 | grep -v 'ar: writing'
+${AR} rcv ${LAXLREP} /dev/null 2>&1 | grep -v 'ar: writing'
#if [ "$P" != "win" ]; then
-# ar rcv ${LOBREP} /dev/null 2>&1 | grep -v 'ar: writing'
+# ${AR} rcv ${LOBREP} /dev/null 2>&1 | grep -v 'ar: writing'
#fi
#
--- a/lib/axllib/test/arrepl1.sh
+++ b/lib/axllib/test/arrepl1.sh
@@ -14,8 +14,8 @@
LOBREPLIB=${LIB}/librepl.lib
# 'ar rcv' avoids the archive creation warning from ar.
-ar rcv ${LAXLREP} /dev/null 2>&1 | grep -v 'ar: writing'
-ar rcv ${LOBREP} /dev/null 2>&1 | grep -v 'ar: writing'
+${AR} rcv ${LAXLREP} /dev/null 2>&1 | grep -v 'ar: writing'
+${AR} rcv ${LOBREP} /dev/null 2>&1 | grep -v 'ar: writing'
#
# The perl -p -e 's/-R *[^ ]* //g' removes the use of a -R option with an
--- a/lib/axllib/test/bug1213.sh
+++ b/lib/axllib/test/bug1213.sh
@@ -24,7 +24,7 @@
print << (foo bar "No problems!") << newline;
EOF
aldor -Fao file_with_a_long_name.as another_file_with_a_long_name.as
-ar rcv libfoo.al file_with_a_long_name.ao another_file_with_a_long_name.ao 2>&1 | grep -v 'ar: writing'
+${AR} rcv libfoo.al file_with_a_long_name.ao another_file_with_a_long_name.ao 2>&1 | grep -v 'ar: writing'
echo ""
echo "-----------------------------------------------------------------"
aldor -ginterp -lfoo footest.as
--- a/lib/buildlib.am
+++ b/lib/buildlib.am
@@ -10,9 +10,9 @@
lib$(libraryname).al: $(foreach i,$(SUBDIRS),$i/_sublib_$(libraryname).al)
$(AM_V_AR) \
for l in $+; do \
- ar x $$l; \
- ar cr $@ $$(ar t $$l);\
- rm $$(ar t $$l); \
+ ${AR} x $$l; \
+ ${AR} cr $@ $$(${AR} t $$l);\
+ rm $$(${AR} t $$l); \
done
$(libraryname).jar: $(foreach i, $(JAVA_SUBDIRS),$i/$(libraryname).jar)
--- a/lib/buildlib.mk
+++ b/lib/buildlib.mk
@@ -121,21 +121,21 @@
$(AM_V_ALDOR)set -e; \
rm -f $*.c $*.ao; \
cp $(SUBLIB_DEPEND).al lib$(libraryname)_$*.al; \
- ar r lib$(libraryname)_$*.al $(addsuffix .ao, $(shell $(UNIQ) $*.dep)); \
+ ${AR} r lib$(libraryname)_$*.al $(addsuffix .ao, $(shell $(UNIQ) $*.dep)); \
$(AM_DBG) $(aldorexedir)/aldor $(aldor_args); \
rm lib$(libraryname)_$*.al
$(SUBLIB_DEPEND).al: $(foreach l,$(library_deps),$(librarylibdir)/$l/$(SUBLIB).al) Makefile.deps
$(AM_V_AR)set -e; \
- ar cr $@; \
+ ${AR} cr $@; \
for l in $(filter %.al,$+); do \
if [ ! -f $$l ]; then \
echo "missing $$l"; \
exit 1; \
fi; \
- ar x $$l; \
- ar r $@ $$(ar t $$l); \
- rm $$(ar t $$l); \
+ ${AR} x $$l; \
+ ${AR} r $@ $$(${AR} t $$l); \
+ rm $$(${AR} t $$l); \
done
$(addsuffix .fm,$(alldomains)): %.fm: %.ao
@@ -149,7 +149,7 @@
$(AM_V_ALDOR)set -e; \
rm -f $*.c $*.ao; \
cp $(SUBLIB_DEPEND).al lib$(libraryname)_$*.al; \
- ar r lib$(libraryname)_$*.al $(addsuffix .ao, $(shell $(UNIQ) $*.dep)); \
+ ${AR} r lib$(libraryname)_$*.al $(addsuffix .ao, $(shell $(UNIQ) $*.dep)); \
$(AM_DBG) $(aldorexedir)/aldor -gloop \
$(aldor_common_args) \
-Y. \
@@ -200,7 +200,7 @@
$(SUBLIB).al:
$(AM_V_AR) \
rm -f $@; \
- ar cr $@ $(addsuffix .ao, $(shell $(UNIQ) $(@:.al=.dep)))
+ ${AR} cr $@ $(addsuffix .ao, $(shell $(UNIQ) $(@:.al=.dep)))
all: Makefile $(SUBLIB).al
all: $(addsuffix .fm,$(library))
--- a/lib/debuglib/test/cmds.compile
+++ b/lib/debuglib/test/cmds.compile
@@ -6,7 +6,7 @@
cd
cd base/linux/srclib
-ar rv ../lib/libfoam.a *.o
+${AR} rv ../lib/libfoam.a *.o
cd
cd aldor/1.0rc0/lib/libdebug

View File

@@ -1,45 +0,0 @@
--- a/aldor/src/Makefile.am
+++ b/aldor/src/Makefile.am
@@ -40,12 +40,12 @@
javagen_LDADD = libphase.a libstruct.a libgen.a libport.a -lm
javagen_LDFLAGS =
-javagen_CFLAGS = -g $(STRICTCFLAGS)
+javagen_CFLAGS = $(STRICTCFLAGS)
showexp_SOURCES = showexports.c
showexp_LDADD = libphase.a libstruct.a libgen.a libport.a -lm
showexp_LDFLAGS =
-showexp_CFLAGS = -g $(STRICTCFLAGS)
+showexp_CFLAGS = $(STRICTCFLAGS)
aldor_SOURCES = \
axlcomp.c \
@@ -53,7 +53,7 @@
main.c
aldor_LDADD = libphase.a libstruct.a libgen.a libport.a -lm
aldor_LDFLAGS = $(build_id)
-aldor_CFLAGS = -g $(STRICTCFLAGS)
+aldor_CFLAGS = $(STRICTCFLAGS)
#aldortest_CFLAGS = -DTEST_STAND_ALONE -DTEST_ALL -save-temps $(STRICTCFLAGS)
aldortest_CFLAGS = -DTEST_STAND_ALONE -DTEST_ALL -save-temps $(STRICTCFLAGS)
@@ -316,7 +316,6 @@
testall_LDFLAGS =
testall_CFLAGS = -save-temps $(STRICTCFLAGS)
-CFLAGS=-O0 -g
#
# Special rules
--- a/m4/strict_compile.m4
+++ b/m4/strict_compile.m4
@@ -12,7 +12,7 @@
ALDOR_CC_OPTION(-Wno-sign-compare,cfg_no_sign_compare)
AC_MSG_CHECKING(Strict options for C compiler)
- cfgSTRICTCFLAGS="-pedantic -std=c99 -Wall -Wextra -Werror -Wno-empty-body -Wno-enum-compare \
+ cfgSTRICTCFLAGS="-pedantic -std=c99 -Wall -Wextra -Wno-empty-body -Wno-enum-compare \
-Wno-missing-field-initializers -Wno-unused -Wno-unused-parameter \
-Wno-error=format -Wno-error=type-limits -Wno-error=strict-aliasing \
$cfg_no_sign_compare $cfg_no_shift_negative_value"

View File

@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<description>co-maintainers welcome</description>
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<longdescription lang="en">
Aldor is a programming language. It is the successor of A# as the extension language of the Axiom computer algebra system.
The Aldor language combines imperative, functional, and object-oriented features. It has an elaborate dependent type system, allowing types to be used as first-class values. Aldor's syntax is heavily influenced by Pascal, but it is optionally indentation-sensitive, like Python. In its current implementation, it is compiled, but an interactive listener is provided.
</longdescription>
<upstream>
<remote-id type="github">pippijn/aldor</remote-id>
</upstream>
<!--<use><flag name="boehm-gc">Use Boehm Garbage Collector instead of built-in</flag></use>-->
</pkgmetadata>