2 Commits
shell ... main

Author SHA1 Message Date
7dc2a42654 Added crypto/openssl 2025-09-27 02:01:19 +01:00
3b8302fb14 Added lang/gcc-7 2025-09-25 11:13:36 +01:00
3 changed files with 90 additions and 0 deletions

23
crypto/openssl/PKGCONF Normal file
View File

@@ -0,0 +1,23 @@
VERSION=3.5.3
PACKAGE=openssl
SRC=${PACKAGE}-${VERSION}.tar.xz
URL=git://github.com/${PACKAGE}/${PACKAGE}@${PACKAGE}-${VERSION}
CATEGORY=crypto
configure() {
echo "Configuring $PACKAGE"
cd "${SRCDIR}/${PACKAGE}-${VERSION}"
./Configure solaris-sparcv8-gcc --prefix=/usr/local/ssl --openssldir=/usr/local/ssl
}
build() {
echo "Building $PACKAGE"
cd "${SRCDIR}/${PACKAGE}-${VERSION}"
make -j ${NCPU}
}
install() {
echo "Installing $PACKAGE to ${DESTDIR}"
cd "${SRCDIR}/${PACKAGE}-${VERSION}"
make install DESTDIR="${DESTDIR}"
}

View File

@@ -0,0 +1,10 @@
--- openssl-3.5.3.orig/Configurations/10-main.conf Sat Sep 27 00:00:15 2025
+++ openssl-3.5.3/Configurations/10-main.conf Sat Sep 27 00:01:25 2025
@@ -319,6 +319,7 @@
"solaris-sparcv8-gcc" => {
inherit_from => [ "solaris-sparcv7-gcc" ],
cflags => add_before("-mcpu=v8"),
+ ex_libs => add("-lrt", "-latomic"),
asm_arch => 'sparcv8',
perlasm_scheme => 'void',
},

57
lang/gcc-7/PKGCONF Normal file
View File

@@ -0,0 +1,57 @@
VERSION=7.5.0
PACKAGE=gcc-7
SRC=gcc-${VERSION}.tar.gz
URL=${SITE_GNU}/gcc/gcc-${VERSION}/${SRC}
CATEGORY=lang
DEPENDS="arch/tar devel/binutils libs/gmp libs/mpc libs/mpfr devel/cloog devel/bdwgc"
configure() {
echo "Configuring $PACKAGE"
cd "${SRCDIR}/gcc-${VERSION}"
./configure \
--exec_prefix=/usr/local \
--bindir=/usr/local/bin \
--sbindir=/usr/local/sbin \
--libexecdir=/usr/local/libexec \
--datadir=/usr/local/share \
--sysconfdir=/etc/usr/local \
--sharedstatedir=/usr/local/share \
--localstatedir=/var/usr/local \
--libdir=/usr/local/lib \
--infodir=/usr/local/share/info \
--includedir=/usr/local/include \
--mandir=/usr/local/share/man \
--enable-cloog-backend=isl \
--without-isl \
--disable-libsanitizer \
--disable-bootstrap \
--enable-languages=c,c++,fortran,objc \
--enable-libssp \
--enable-nls \
--enable-objc-gc \
--enable-threads=posix \
--program-suffix=-7 \
--with-cloog=/usr/local \
--with-gmp=/usr/local \
--with-included-gettext \
--with-ld=/usr/ccs/bin/ld \
--without-gnu-ld \
--with-libiconv-prefix=/usr/local \
--with-mpfr=/usr/local \
--with-ppl=/usr/local \
--with-system-zlib=/usr/local \
--with-as=/usr/ccs/bin/as \
--without-gnu-as
}
build() {
echo "Building $PACKAGE"
cd "${SRCDIR}/gcc-${VERSION}"
make
}
install() {
echo "Installing $PACKAGE to ${DESTDIR}"
cd "${SRCDIR}/gcc-${VERSION}"
make install DESTDIR="${DESTDIR}"
}