mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 14:57:35 +00:00
Ports: Add GnuCOBOL
This commit is contained in:
parent
ce80f0d552
commit
ee25d6940f
4 changed files with 30 additions and 0 deletions
11
Ports/gnucobol/package.sh
Executable file
11
Ports/gnucobol/package.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=gnucobol
|
||||
version=3.1.2
|
||||
useconfigure="true"
|
||||
depends="gmp gcc bash"
|
||||
files="https://ftp.gnu.org/gnu/gnucobol/gnucobol-${version}.tar.bz2 gnucobol-${version}.tar.bz2
|
||||
https://ftp.gnu.org/gnu/gnucobol/gnucobol-${version}.tar.bz2.sig gnucobol-${version}.tar.bz2.sig
|
||||
https://ftp.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
|
||||
auth_type="sig"
|
||||
auth_opts="--keyring ./gnu-keyring.gpg gnucobol-${version}.tar.bz2.sig"
|
||||
configopts="--prefix=/usr/local --enable-hardening --disable-rpath --with-gnu-ld --with-dl --with-math=gmp --with-db=no --with-json=no --with-curses=curses"
|
8
Ports/gnucobol/patches/cob-config.patch
Normal file
8
Ports/gnucobol/patches/cob-config.patch
Normal file
|
@ -0,0 +1,8 @@
|
|||
--- gnucobol-3.1.2/bin/cob-config.in 2020-12-23 02:51:16.000000000 -0800
|
||||
+++ gnucobol-3.1.2/bin/cob-config.in 2021-04-08 03:05:22.989720870 -0700
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/sh
|
||||
+#!/bin/bash
|
||||
#
|
||||
# cob-config
|
||||
#
|
10
Ports/gnucobol/patches/config.sub.patch
Normal file
10
Ports/gnucobol/patches/config.sub.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- gnucobol-3.1.2/build_aux/config.sub 2021-04-08 02:49:20.863867201 -0700
|
||||
+++ gnucobol-3.1.2/build_aux/config.sub 2021-04-08 02:49:22.715869376 -0700
|
||||
@@ -1339,6 +1339,7 @@
|
||||
# Each alternative MUST end in a * to match a version number.
|
||||
# sysv* is not here because it comes later, after sysvr4.
|
||||
gnu* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
|
||||
+ | serenity* \
|
||||
| *vms* | esix* | aix* | cnk* | sunos | sunos[34]*\
|
||||
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
|
||||
| sym* | kopensolaris* | plan9* \
|
Loading…
Add table
Add a link
Reference in a new issue