1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Shell and scripting for mission-critical projects
8 HOMEPAGE= http://www.sparforte.com
9 CONTACT= John_Marino[draco@marino.st]
12 SITES[main]= GITHUB/kburtch:SparForte:v2.6.1
13 DISTFILE[1]= generated:main
15 SPKGS[standard]= complete
20 OPTIONS_AVAILABLE= CGI OPENGL SOUND MYSQL PGSQL PCRE L10N
21 OPTIONS_STANDARD= CGI OPENGL SOUND MYSQL PGSQL PCRE L10N
22 OPTGROUP_RESTRICTED= DBASE
23 OPTDESCR[DBASE]= Databases supported
24 OPTGROUP[DBASE]= MYSQL PGSQL
25 OPT_ON[all]= MYSQL PGSQL OPENGL SOUND PCRE L10N
27 BROKEN[aarch64]= fails to compile: gnat1: error: unknown value aarch64 for -march
28 BROKEN[all]= GNAT BUG DETECTED gnat_to_gnu_entity, parser_pen.adb
30 BUILD_DEPENDS= libGLU:dev:standard
32 USES= bdb gettext gmake pkgconfig readline execinfo ssl
34 SDL_COMPONENTS= image1
36 LICENSE= GPLv2+:primary
37 LICENSE_TERMS= primary:{{WRKDIR}}/TERMS
38 LICENSE_FILE= GPLv2+:{{WRKSRC}}/COPYING
39 LICENSE_AWK= TERMS:"^$$"
40 LICENSE_SOURCE= TERMS:{{WRKSRC}}/src/spar.adb
44 CONFIGURE_SCRIPT= new_configure
46 MAKE_ARGS= RPM_BUILD_ROOT=1
49 VAR_OPSYS[freebsd]= MAKEFILE_LINE=SF_CFLAGSTYPE=-DFREEBSD
50 MAKEFILE_LINE=OSBIND=os_bindings/spar_freebsd
51 VAR_OPSYS[linux]= MAKEFILE_LINE=SF_CFLAGSTYPE=-DLINUX
52 MAKEFILE_LINE=OSBIND=os_bindings/spar_linux
53 VAR_OPSYS[netbsd]= MAKEFILE_LINE=SF_CFLAGSTYPE=-DFREEBSD
54 MAKEFILE_LINE=OSBIND=os_bindings/spar_freebsd
55 VAR_OPSYS[dragonfly]= MAKEFILE_LINE=SF_CFLAGSTYPE=-DFREEBSD
56 MAKEFILE_LINE=OSBIND=os_bindings/spar_freebsd
57 VAR_OPSYS[midnightbsd]= MAKEFILE_LINE=SF_CFLAGSTYPE=-DFREEBSD
58 MAKEFILE_LINE=OSBIND=os_bindings/spar_freebsd
59 VAR_ARCH[aarch64]= MAKEFILE_LINE=CPU_SDL=spar_os-sdl-64bit
60 VAR_ARCH[x86_64]= MAKEFILE_LINE=CPU_SDL=spar_os-sdl-64bit
61 VAR_ARCH[i386]= MAKEFILE_LINE=CPU_SDL=spar_os-sdl-32bit
63 [L10N].DESCRIPTION= Build with localization support
64 [L10N].MAKEFILE_OFF= SFARG+=-DL10N=false
65 [L10N].MAKEFILE_ON= SETL10N=ON
68 [PCRE].DESCRIPTION= Build with PCRE regular expression support
69 [PCRE].MAKEFILE_OFF= SFARG+=-DPCRE=false
70 [PCRE].MAKEFILE_ON= SETPCRE=ON
74 [OPENGL].BUILDRUN_DEPENDS_ON= libglvnd:primary:standard
75 [OPENGL].BUILD_DEPENDS_ON= libglvnd:dev:standard
76 [OPENGL].MAKEFILE_OFF= SFARG+=-DOPENGL=false
77 [OPENGL].MAKEFILE_ON= SETGL=ON
80 [MYSQL].MAKEFILE_OFF= SFARG+=-DMYSQL=false
81 [MYSQL].MAKEFILE_ON= SETMYSQL=ON
83 [MYSQL].USES_ON= mysql:client
85 [SOUND].BUILDRUN_DEPENDS_ON= gstreamer1:primary:standard
86 [SOUND].BUILD_DEPENDS_ON= gstreamer1:dev:standard
87 [SOUND].GNOME_COMPONENTS_ON= glib
89 [SOUND].MAKEFILE_OFF= SFARG+=-DSOUND=false
90 [SOUND].MAKEFILE_ON= SETSOUND=ON
93 [PGSQL].MAKEFILE_OFF= SFARG+=-DPOSTGRES=false
94 [PGSQL].MAKEFILE_ON= SETPGSQL=ON
95 SFARG+=-DPOSTGRES=true
96 [PGSQL].USES_ON= pgsql:client
98 [CGI].DESCRIPTION= Common Gateway Interface (breaks other features)
99 [CGI].MAKEFILE_OFF= SFARG+=-DGCGI=false
100 [CGI].MAKEFILE_ON= SFARG+=-DGCGI=true
103 ${REINPLACE_CMD} -e "s| -lintl||" ${WRKSRC}/new_configure
106 ${MKDIR} ${STAGEDIR}${STD_DOCDIR}
107 ${MKDIR} ${STAGEDIR}${STD_EXAMPLESDIR}
108 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/spar
109 (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${STD_DOCDIR})
110 ${MV} ${WRKSRC}/examples/incomplete ${WRKDIR}/
111 (cd ${WRKSRC}/examples && \
112 ${COPYTREE_SHARE} \* ${STAGEDIR}${STD_EXAMPLESDIR})
115 # move new 4 lines from post-extract to allow patching
116 ${CP} ${WRKSRC}/src/scanner-calendar-latest.ads ${WRKSRC}/src/scanner-calendar.ads
117 ${CP} ${WRKSRC}/src/scanner-calendar-latest.adb ${WRKSRC}/src/scanner-calendar.adb
118 ${CP} ${WRKSRC}/src/${OSBIND}.ads ${WRKSRC}/src/spar_os.ads
119 ${CP} ${WRKSRC}/src/${CPU_SDL}.ads ${WRKSRC}/src/spar_os-sdl.ads
120 ${MV} ${WRKSRC}/src/spar_os_sdl.adb ${WRKSRC}/src/spar_os-sdl.adb
121 # Use the gcc compiler associated with the ada frontend.
122 # Without this substitution, the base compiler is used instead.
125 -e "s| -fstack-protector||" \
127 ${WRKSRC}/src/pegasock/Makefile
128 # Avoid use of malloc.h
129 ${REINPLACE_CMD} -e "s|<malloc.h>|<stdlib.h>|" \
130 ${WRKSRC}/src/bdb/c_bdb.c
131 # Use db.h from db5 and link to it
132 # Fix multi-job support
133 # On gcc11, avoids prefix of "Overlaps_Storage" attribute must be object
135 -e "s|db: db.adb|db: bdb_constants.ads db.adb|" \
136 -e "s| -fstack-protector||" \
137 -e "s| -gnateEeAeEeF||" \
138 ${WRKSRC}/src/bdb/GNUmakefile.orig
140 ${REINPLACE_CMD} -e "s|#|#!/bin/sh|" \
141 ${WRKSRC}/src/apq-2.1/mysql_incl
142 ${REINPLACE_CMD} -e "s|\.\/mysql_x|/bin/sh ./mysql_x|" \
143 ${WRKSRC}/src/apq-2.1/Makefile
144 # stack-protector broken on several platforms, fix template
146 -e "s| -fstack-protector||" \
148 ${WRKSRC}/src/GNUmakefile.orig
151 for f in ${PREPFILES}; do \
152 echo "gnatprep $$f" ;\
153 (cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} \
154 gnatprep ${SFARG} $$f.orig $$f) ;\
158 # Create a compact configure script for ports collection
159 ${SED} -e "s|@CPU_FLAG@|${SF_CPU_FLAG}|" \
160 -e "s|@ARCH@|${SF_ARCH}|" \
161 -e "s|@MAKECMD@|${MAKE_CMD}|" \
162 -e "s|@CFLAGSTYPE@|${SF_CFLAGSTYPE}|" \
163 -e "s|@PREFIX@|${PREFIX}|" \
164 -e "s|@SETAPQ@|${SETAPQ}|" \
165 -e "s|@SETMYSQL@|${SETMYSQL}|" \
166 -e "s|@SETPGSQL@|${SETPGSQL}|" \
167 -e "s|@SETSOUND@|${SETSOUND}|" \
168 -e "s|@SETGL@|${SETGL}|" \
169 -e "s|@SETPCRE@|${SETPCRE}|" \
170 -e "s|@SETL10N@|${SETL10N}|" \
171 -e "s|@SED@|${SED}|" \
172 -e "s|@OPENSSLLIB@|${OPENSSLLIB}|g" \
173 -e "s|@JOBSSUB@|${MAKE_JOBS_NUMBER}|g" \
174 ${FILESDIR}/new_configure.in > ${WRKSRC}/new_configure
175 ${CHMOD} 755 ${WRKSRC}/new_configure
177 [FILE:1013:descriptions/desc.primary]
178 SPARforte is an open source programming language for high-integrity tasks,
179 efficient development over the project lifecycle and assuming best practices.
181 Language characteristics:
182 * Paradigm: imperative/ procedural, scripting, shell, limited reflexive
183 * Typing Disciplines: strong typing, type safety, nominative static with
184 optional limited weak and duck typing
185 * Appeared: 2001 (Ken O. Burtch)
186 * Source Code: GCC Ada, GCC C, Bourne-Again Shell, GCC Make
187 * Influenced by: Ada 95, Bourne Shell, SQL, and minorly BASIC, PHP, Python
188 * Usual File Extensions: .sp, .bush
190 The computer language that the SparForte shell understands is called
191 AdaScript. Unlike JavaScript, which has no relation to Java, AdaScript is a
192 small subset of the Ada programming language, with additional features
193 related to shell commands and databases.
195 AdaScript is intended to be "upward compatible" with Ada. AdaScript scripts
196 should run with little difficulty under Ada, but Ada programs may require
197 large changes run under SparForte.
201 d88ec589aaca858a42cb58317ba057ef8dcf270f58f75786a1dcffe53f6cbc9a 3223375 kburtch-SparForte-2.6.1.tar.gz
204 [FILE:34:manifests/plist.primary]
206 share/man/man1/spar.1.gz
209 [FILE:4006:manifests/plist.examples]
210 share/examples/sparforte/
225 arraycat_unstructured.sp
230 arraysum_unstructured.sp
269 count_statements.html
322 git_prompt_script.html
346 json_health_check.cgi
347 json_health_check.html
472 user_input_unstructured.sp
493 [FILE:766:patches/patch-src_GNUmakefile.template]
494 --- src/GNUmakefile.orig.orig 2023-05-06 21:39:55 UTC
495 +++ src/GNUmakefile.orig
496 @@ -112,7 +112,7 @@ endif
497 @echo "---------------------------------------------------------------"
499 # $(GNATMAKE) -j4 -c -i -O1 $(CPU_FLAG)=$(CPU) -we -gnat12 -gnatfaoN -gnatVaep -gnatw.eDHM.Y -gnateEeEeF -gnatybdh -fstack-protector -c $(INCLUDE) spar
500 - $(GNATMAKE) -j$(GMAKEJOBS) -c -i -O1 $(CPU_FLAG)=$(CPU) -we -gnat12 -gnatfaoN -gnatVaep -gnateEeEeF -fstack-protector -c $(INCLUDE) spar
501 + $(GNATMAKE) -j$(GMAKEJOBS) -c -i -O1 $(CPU_FLAG)=$(CPU) -we -gnat12 -gnatd.E -gnatfaoN -gnatVaep -gnateEeEeF -fstack-protector -c $(INCLUDE) spar
502 gnatbind -x $(INCLUDE_BIND) spar.ali
503 gnatlink spar.ali $(GSTREAMERLIBS) $(GSTREAMEROBJ) $(PCREOBJ) c_os.o c_scanner.o $(LIBS)
507 [FILE:6328:patches/patch-src_c__l10n.c]
508 --- src/c_l10n.c.orig 2023-05-06 21:39:55 UTC
510 @@ -485,7 +485,7 @@ char *langinfo_abmon_12() {
513 char *langinfo_decimal_point() {
514 -#if defined(__APPLE__) || defined(__FreeBSD__)
515 +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__linux__)
517 #elif !defined(__USE_GNU)
519 @@ -501,7 +501,7 @@ char *langinfo_decimal_point() {
522 char *langinfo_thousands_sep() {
523 -#if defined(__APPLE__) || defined(__FreeBSD__)
524 +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__linux__)
526 #elif !defined(__USE_GNU)
528 @@ -537,7 +537,7 @@ char *langinfo_noexpr() {
531 char *langinfo_currency_symbol() {
532 -#if defined(__APPLE__) || defined(__FreeBSD__)
533 +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__linux__)
535 #elif !defined(__USE_GNU)
537 @@ -583,7 +583,7 @@ char *langinfo_t_fmt_ampm() {
540 char *langinfo_positive_sign() {
541 -#if defined(__APPLE__) || defined(__FreeBSD__)
542 +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__linux__)
544 #elif !defined(__USE_GNU)
546 @@ -599,7 +599,7 @@ char *langinfo_positive_sign() {
549 char *langinfo_negative_sign() {
550 -#if defined(__APPLE__) || defined(__FreeBSD__)
551 +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__linux__)
553 #elif !defined(__USE_GNU)
555 @@ -615,7 +615,7 @@ char *langinfo_negative_sign() {
558 char *langinfo_int_curr_symbol() {
559 -#if defined(__APPLE__) || defined(__FreeBSD__)
560 +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__linux__)
562 #elif !defined(__USE_GNU)
564 @@ -631,7 +631,7 @@ char *langinfo_int_curr_symbol() {
567 char *langinfo_grouping() {
568 -#if defined(__APPLE__) || defined(__FreeBSD__)
569 +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__linux__)
571 #elif !defined(__USE_GNU)
573 @@ -646,7 +646,7 @@ char *langinfo_grouping() {
576 char *langinfo_frac_digits() {
577 -#if defined(__APPLE__) || defined(__FreeBSD__)
578 +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__linux__)
580 #elif !defined(__USE_GNU)
582 @@ -661,7 +661,7 @@ char *langinfo_frac_digits() {
585 char *langinfo_int_frac_digits() {
586 -#if defined(__APPLE__) || defined(__FreeBSD__)
587 +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__linux__)
589 #elif !defined(__USE_GNU)
591 @@ -676,7 +676,7 @@ char *langinfo_int_frac_digits() {
594 char *langinfo_p_cs_precedes() {
595 -#if defined(__APPLE__) || defined(__FreeBSD__)
596 +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__linux__)
598 #elif !defined(__USE_GNU)
600 @@ -691,7 +691,7 @@ char *langinfo_p_cs_precedes() {
603 char *langinfo_p_sep_by_space() {
604 -#if defined(__APPLE__) || defined(__FreeBSD__)
605 +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__linux__)
607 #elif !defined(__USE_GNU)
609 @@ -706,7 +706,7 @@ char *langinfo_p_sep_by_space() {
612 char *langinfo_p_sign_posn() {
613 -#if defined(__APPLE__) || defined(__FreeBSD__)
614 +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__linux__)
616 #elif !defined(__USE_GNU)
618 @@ -721,7 +721,7 @@ char *langinfo_p_sign_posn() {
621 char *langinfo_n_cs_precedes() {
622 -#if defined(__APPLE__) || defined(__FreeBSD__)
623 +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__linux__)
625 #elif !defined(__USE_GNU)
627 @@ -736,7 +736,7 @@ char *langinfo_n_cs_precedes() {
630 char *langinfo_n_sep_by_space() {
631 -#if defined(__APPLE__) || defined(__FreeBSD__)
632 +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__linux__)
634 #elif !defined(__USE_GNU)
636 @@ -751,7 +751,7 @@ char *langinfo_n_sep_by_space() {
639 char *langinfo_n_sign_posn() {
640 -#if defined(__APPLE__) || defined(__FreeBSD__)
641 +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__linux__)
643 #elif !defined(__USE_GNU)
645 @@ -766,7 +766,7 @@ char *langinfo_n_sign_posn() {
648 char *langinfo_mon_decimal_point() {
649 -#if defined(__APPLE__) || defined(__FreeBSD__)
650 +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__linux__)
652 #elif !defined(__USE_GNU)
654 @@ -782,7 +782,7 @@ char *langinfo_mon_decimal_point() {
657 char *langinfo_mon_thousands_sep() {
658 -#if defined(__APPLE__) || defined(__FreeBSD__)
659 +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__linux__)
661 #elif !defined(__USE_GNU)
663 @@ -797,7 +797,7 @@ char *langinfo_mon_thousands_sep() {
666 char *langinfo_mon_grouping() {
667 -#if defined(__APPLE__) || defined(__FreeBSD__)
668 +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__linux__)
670 #elif !defined(__USE_GNU)
672 @@ -822,7 +822,7 @@ char *langinfo_era() {
675 char *langinfo_era_year() {
676 -#if defined(__APPLE__) || defined(__FreeBSD__)
677 +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__linux__)
679 #elif !defined(__USE_GNU)
683 [FILE:375:patches/patch-src_c__os.c]
684 --- src/c_os.c.orig 2023-05-06 21:39:55 UTC
688 /* group_member() for BSD-based systems */
690 -#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__)
691 +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__)
692 int group_member(gid_t gid) {
694 #if defined(__APPLE__)
697 [FILE:4199:files/new_configure.in]
699 # Configure script tailored for FreeBSD ports collection
712 GMAKETYPE="@MAKECMD@"
714 MANPREFIXSUB="@PREFIX@/share/man"
715 CFLAGSTYPE="@CFLAGSTYPE@"
716 BDBBASELIBSSUB="-L@PREFIX@/db5/lib -ldb"
717 BDBBASEINCLSUB="-I@PREFIX@/db5/include -I./bdb/"
718 BDBINCLSUB="-I@PREFIX@/db5/include -I./bdb/"
719 BDBSUB="-L@PREFIX@/db5/lib -ldb bdb/c_bdb.o"
720 RLINCLSUB="-I./areadline/"
721 RLLIBSSUB="-L@PREFIX@/lib -lreadline -lhistory c_rl.o"
726 SDLLIBSTYPE=$(@PREFIX@/bin/pkgconf --libs SDL_image)
727 SDLINCLTYPE=$(@PREFIX@/bin/pkgconf --cflags SDL_image)
745 if [ "${SETAPQ}" = "ON" ]; then
747 APQMAKESUB="\$(MAKE) -C ${APQ}"
748 APQLIBSSUB="-L./${APQ} "
749 APQINCLSSUB="-I./${APQ} "
750 if [ "${SETMYSQL}" = "ON" ]; then
751 MYSQLLIBSSUB="-L@PREFIX@/lib/mysql -lmysqlclient -pthread -lm"
752 APQLIBSSUB="${APQLIBSSUB} ./${APQ}/c_mysql.o"
753 if [ "${SETPGSQL}" != "ON" ]; then
754 echo "Executing APQ's configure (skipping PostgreSQL)"
755 (cd src/${APQ} && /usr/bin/env HAVE_MY=1 HAVE_PG=0 /bin/sh ./configure)
758 if [ "${SETPGSQL}" = "ON" ]; then
759 PGLIBSSUB="-L@PREFIX@/lib -lintl -L@OPENSSLLIB@ -lssl -lcrypto -Wl,-rpath,@OPENSSLLIB@"
760 if [ "${SETMYSQL}" = "ON" ]; then
761 echo "Executing APQ's configure"
762 (cd src/${APQ} && /usr/bin/env HAVE_MY=1 HAVE_PG=1 /bin/sh ./configure)
764 echo "Executing APQ's configure (skipping MySQL)"
765 (cd src/${APQ} && /usr/bin/env HAVE_MY=0 HAVE_PG=1 /bin/sh ./configure)
769 APQMAKESUB="@echo disabled"
772 if [ "${SETSOUND}" = "ON" ]; then
773 GSTREAMERLIBSSUB=$(@PREFIX@/bin/pkgconf --cflags --libs gstreamer-1.0)
774 GSTREAMEROBJSUB="c_gstreamer.o"
775 GSTREAMERFLAGSUB="-DGSTREAMER"
778 if [ "${SETGL}" = "ON" ]; then
779 MESAINCLSUB=$(@PREFIX@/bin/pkgconf --cflags gl glu)
780 MESALIBSSUB=$(@PREFIX@/bin/pkgconf --libs gl glu)
783 if [ "${SETPCRE}" = "ON" ]; then
785 PCREOBJSUB="c_pcre.o"
788 if [ "${SETL10N}" = "ON" ]; then
793 echo "Creating GNUmakefile"
794 @SED@ -e "s|CPUFLAG|${CPUFLAG}|g" \
795 -e "s|CCTYPE|${CCTYPE}|g" \
796 -e "s|CPUTYPE|${CPUTYPE}|g" \
797 -e "s|GMAKETYPE|${GMAKETYPE}|g" \
798 -e "s|CFLAGSTYPE|${CFLAGSTYPE}|g" \
799 -e "s|MANPREFIXSUB|${MANPREFIXSUB}|g" \
800 -e "s|PREFIXSUB|${PREFIXSUB}|g" \
801 GNUmakefile.orig > Makefile
803 echo "Creating src/GNUmakefile"
804 @SED@ -e "s|CPUFLAG|${CPUFLAG}|g" \
805 -e "s|CCTYPE|${CCTYPE}|g" \
806 -e "s|CPUTYPE|${CPUTYPE}|g" \
807 -e "s|GMAKETYPE|${GMAKETYPE}|g" \
808 -e "s|CFLAGSTYPE|${CFLAGSTYPE}|g" \
809 -e "s|MANPREFIXSUB|${MANPREFIXSUB}|g" \
810 -e "s|PREFIXSUB|${PREFIXSUB}|g" \
811 -e "s|SDLLIBSTYPE|${SDLLIBSTYPE}|g" \
812 -e "s|SDLINCLTYPE|${SDLINCLTYPE}|g" \
813 -e "s|PGLIBSSUB|${PGLIBSSUB}|g" \
814 -e "s|MYSQLLIBSSUB|${MYSQLLIBSSUB}|g" \
815 -e "s|APQLIBSSUB|${APQLIBSSUB}|g" \
816 -e "s|APQINCLSSUB|${APQINCLSSUB}|g" \
817 -e "s|SDLINCLSSUB|${SDLINCLSSUB}|g" \
818 -e "s|APQMAKESUB|${APQMAKESUB}|g" \
819 -e "s|FASTCGISUB|${FASTCGISUB}|g" \
820 -e "s|GSTREAMERLIBSSUB|${GSTREAMERLIBSSUB}|g" \
821 -e "s|GSTREAMERFLAGSUB|${GSTREAMERFLAGSUB}|g" \
822 -e "s|GSTREAMEROBJSUB|${GSTREAMEROBJSUB}|g" \
823 -e "s|MESAINCLSUB|${MESAINCLSUB}|g" \
824 -e "s|MESALIBSSUB|${MESALIBSSUB}|g" \
825 -e "s|BDBSUB|${BDBSUB}|g" \
826 -e "s|BDBINCLSUB|${BDBINCLSUB}|g" \
827 -e "s|RLINCLSUB|${RLINCLSUB}|g" \
828 -e "s|RLLIBSSUB|${RLLIBSSUB}|g" \
829 -e "s|RLFLAGSUB|${RLFLAG}|g" \
830 -e "s|PCRELIBSSUB|${PCRELIBSSUB}|g" \
831 -e "s|PCREOBJSUB|${PCREOBJSUB}|g" \
832 -e "s|PCREFLAG|${PCREFLAG}|g" \
833 -e "s|L10NFLAGSUB|${L10NFLAG}|g" \
834 -e "s|L10NLIBSSUB|${L10NLIBS}|g" \
835 -e "s|GMAKEJOBSSUB|${JOBSSUB}|g" \
836 src/GNUmakefile.orig > src/GNUmakefile
838 echo "Creating src/bdb/GNUmakefile"
840 -e "s|BDBBASEINCLSUB|${BDBBASEINCLSUB}|g" \
841 -e "s|BDBBASELIBSSUB|${BDBBASELIBSSUB}|g" \
842 src/bdb/GNUmakefile.orig > src/bdb/GNUmakefile
845 [FILE:760:files/special.mk]
849 parser_btree_io.adb \
852 parser_gnat_cgi.adb \
859 parser_strings_pcre.adb \
860 pegasoft-user_io-getline.adb \
865 .if ${SETMYSQL} == "ON" || ${SETPGSQL} == "ON"
872 BUILDDATE!= date "+%y%m%d"
873 SFARG+= -DREADLINE=true
875 SFARG+= -DconfigbuildDate=\"${BUILDDATE}\"
876 SFARG+= -Dconfigreleased=true
878 # Currently Ada is only available for x86, so we can assume the following
879 SF_ARCH= ${ARCH_STANDARD:S/x86_64/athlon64/}