Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7dc2a42654 | |||
| 3b8302fb14 |
23
crypto/openssl/PKGCONF
Normal file
23
crypto/openssl/PKGCONF
Normal 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}"
|
||||
}
|
||||
10
crypto/openssl/patches/01-add-rt.patch
Normal file
10
crypto/openssl/patches/01-add-rt.patch
Normal 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
57
lang/gcc-7/PKGCONF
Normal 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}"
|
||||
}
|
||||
Reference in New Issue
Block a user