Skip to content

Commit 0b92f92

Browse files
committed
lang/fpc-*: Merge all units to lang/fpc
- Merge all fpc-* units to lang/fpc. It gives us a better way to maintain fpc and lazarus ports. - Update Mk/fpc.mk for reflects new changes - Update Mk/lazarus.mk for reflects new changes - Now we can defined WANT_FPC_DEVEL AND WANT_LAZARUS_DEVEL for use devel version of fpc or lazarus for build apps based on fpc/lazarus - Add entries to MOVED - Bump PORTREVISON of affected ports - Some other minor modifications
1 parent 41db507 commit 0b92f92

268 files changed

Lines changed: 2960 additions & 4658 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

MOVED

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7975,3 +7975,107 @@ games/libretro-fbalpha|games/libretro-fbalpha2012|2023-11-06|Follow naming of li
79757975
games/libretro-paralleln64|games/libretro-parallel_n64|2023-11-06|Follow naming of libretro-super build script
79767976
games/libretro-uae|games/libretro-puae|2023-11-06|Follow naming of libretro-super build script
79777977
games/libretro-vbanext|games/libretro-vba_next|2023-11-06|Follow naming of libretro-super build script
7978+
archivers/fpc-bzip2|lang/fpc|2023-11-12|This port was merged into lang/fpc
7979+
archivers/fpc-unzip|lang/fpc|2023-11-12|This port was merged into lang/fpc
7980+
audio/fpc-mad|lang/fpc|2023-11-12|This port was merged into lang/fpc
7981+
audio/fpc-a52|lang/fpc|2023-11-12|This port was merged into lang/fpc
7982+
audio/fpc-oggvorbis|lang/fpc|2023-11-12|This port was merged into lang/fpc
7983+
audio/fpc-modplug|lang/fpc|2023-11-12|This port was merged into lang/fpc
7984+
audio/fpc-openal|lang/fpc|2023-11-12|This port was merged into lang/fpc
7985+
converters/fpc-iconvenc|lang/fpc|2023-11-12|This port was merged into lang/fpc
7986+
databases/fpc-odbc|lang/fpc|2023-11-12|This port was merged into lang/fpc
7987+
databases/fpc-fpindexer|lang/fpc|2023-11-12|This port was merged into lang/fpc
7988+
databases/fpc-postgres|lang/fpc|2023-11-12|This port was merged into lang/fpc
7989+
databases/fpc-dblib|lang/fpc|2023-11-12|This port was merged into lang/fpc
7990+
databases/fpc-ibase|lang/fpc|2023-11-12|This port was merged into lang/fpc
7991+
databases/fpc-gdbm|lang/fpc|2023-11-12|This port was merged into lang/fpc
7992+
databases/fpc-mysql|lang/fpc|2023-11-12|This port was merged into lang/fpc
7993+
databases/fpc-pxlib|lang/fpc|2023-11-12|This port was merged into lang/fpc
7994+
databases/fpc-oracle|lang/fpc|2023-11-12|This port was merged into lang/fpc
7995+
databases/fpc-sqlite|lang/fpc|2023-11-12|This port was merged into lang/fpc
7996+
devel/fpc-pthreads|lang/fpc|2023-11-12|This port was merged into lang/fpc
7997+
devel/fpc-tplylib|lang/fpc|2023-11-12|This port was merged into lang/fpc
7998+
devel/fpc-fcl-pdf|lang/fpc|2023-11-12|This port was merged into lang/fpc
7999+
devel/fpc-fcl-sdo|lang/fpc|2023-11-12|This port was merged into lang/fpc
8000+
devel/fpc-fcl-image|lang/fpc|2023-11-12|This port was merged into lang/fpc
8001+
devel/fpc-fcl-xml|lang/fpc|2023-11-12|This port was merged into lang/fpc
8002+
devel/fpc-newt|lang/fpc|2023-11-12|This port was merged into lang/fpc
8003+
devel/fpc-fppkg|lang/fpc|2023-11-12|This port was merged into lang/fpc
8004+
devel/fpc-sdl|lang/fpc|2023-11-12|This port was merged into lang/fpc
8005+
devel/fpc-fcl-extra|lang/fpc|2023-11-12|This port was merged into lang/fpc
8006+
devel/fpc-odata|lang/fpc|2023-11-12|This port was merged into lang/fpc
8007+
devel/fpc-fcl-stl|lang/fpc|2023-11-12|This port was merged into lang/fpc
8008+
devel/fpc-fcl-js|lang/fpc|2023-11-12|This port was merged into lang/fpc
8009+
devel/fpc-symbolic|lang/fpc|2023-11-12|This port was merged into lang/fpc
8010+
devel/fpc-fcl-res|lang/fpc|2023-11-12|This port was merged into lang/fpc
8011+
devel/fpc-fcl-web|lang/fpc|2023-11-12|This port was merged into lang/fpc
8012+
devel/fpc-fcl-registry|lang/fpc|2023-11-12|This port was merged into lang/fpc
8013+
devel/fpc-fcl-fpcunit|lang/fpc|2023-11-12|This port was merged into lang/fpc
8014+
devel/fpc-fcl-report|lang/fpc|2023-11-12|This port was merged into lang/fpc
8015+
devel/fpc-fcl-passrc|lang/fpc|2023-11-12|This port was merged into lang/fpc
8016+
devel/fpc-regexpr|lang/fpc|2023-11-12|This port was merged into lang/fpc
8017+
devel/fpc-fcl-sound|lang/fpc|2023-11-12|This port was merged into lang/fpc
8018+
devel/fpc-dbus|lang/fpc|2023-11-12|This port was merged into lang/fpc
8019+
devel/fpc-fcl-db|lang/fpc|2023-11-12|This port was merged into lang/fpc
8020+
devel/fpc-gdbint|lang/fpc|2023-11-12|This port was merged into lang/fpc
8021+
devel/fpc-libmagic|lang/fpc|2023-11-12|This port was merged into lang/fpc
8022+
devel/fpc-fcl-async|lang/fpc|2023-11-12|This port was merged into lang/fpc
8023+
devel/fpc-fcl-base|lang/fpc|2023-11-12|This port was merged into lang/fpc
8024+
devel/fpc-fcl-json|lang/fpc|2023-11-12|This port was merged into lang/fpc
8025+
devel/fpc-fcl-net|lang/fpc|2023-11-12|This port was merged into lang/fpc
8026+
devel/fpc-fv|lang/fpc|2023-11-12|This port was merged into lang/fpc
8027+
devel/fpc-zlib|lang/fpc|2023-11-12|This port was merged into lang/fpc
8028+
devel/fpc-bfd|lang/fpc|2023-11-12|This port was merged into lang/fpc
8029+
editors/fpc-ide|lang/fpc|2023-11-12|This port was merged into lang/fpc
8030+
ftp/fpc-libcurl|lang/fpc|2023-11-12|This port was merged into lang/fpc
8031+
graphics/fpc-libpng|lang/fpc|2023-11-12|This port was merged into lang/fpc
8032+
graphics/fpc-ncurses|lang/fpc|2023-11-12|This port was merged into lang/fpc
8033+
graphics/fpc-hermes|lang/fpc|2023-11-12|This port was merged into lang/fpc
8034+
graphics/fpc-imagemagick|lang/fpc|2023-11-12|This port was merged into lang/fpc
8035+
graphics/fpc-rsvg|lang/fpc|2023-11-12|This port was merged into lang/fpc
8036+
graphics/fpc-libgd|lang/fpc|2023-11-12|This port was merged into lang/fpc
8037+
graphics/fpc-opengl|lang/fpc|2023-11-12|This port was merged into lang/fpc
8038+
graphics/fpc-graph|lang/fpc|2023-11-12|This port was merged into lang/fpc
8039+
graphics/fpc-vcl-compat|lang/fpc|2023-11-12|This port was merged into lang/fpc
8040+
graphics/fpc-svgalib|lang/fpc|2023-11-12|This port was merged into lang/fpc
8041+
graphics/fpc-proj4|lang/fpc|2023-11-12|This port was merged into lang/fpc
8042+
graphics/fpc-pasjpeg|lang/fpc|2023-11-12|This port was merged into lang/fpc
8043+
graphics/fpc-cairo|lang/fpc|2023-11-12|This port was merged into lang/fpc
8044+
lang/fpc-pastojs|lang/fpc|2023-11-12|This port was merged into lang/fpc
8045+
lang/fpc-rtl-objpas|lang/fpc|2023-11-12|This port was merged into lang/fpc
8046+
lang/fpc-lua|lang/fpc|2023-11-12|This port was merged into lang/fpc
8047+
lang/fpc-utils|lang/fpc|2023-11-12|This port was merged into lang/fpc
8048+
lang/fpc-rtl-generics|lang/fpc|2023-11-12|This port was merged into lang/fpc
8049+
lang/fpc-rtl-extra|lang/fpc|2023-11-12|This port was merged into lang/fpc
8050+
lang/fpc-units|lang/fpc|2023-11-12|This port was merged into lang/fpc
8051+
lang/fpc-rexx|lang/fpc|2023-11-12|This port was merged into lang/fpc
8052+
lang/fpc-base|lang/fpc|2023-11-12|This port was merged into lang/fpc
8053+
lang/fpc-rtl-unicode|lang/fpc|2023-11-12|This port was merged into lang/fpc
8054+
lang/fpc-rtl-console|lang/fpc|2023-11-12|This port was merged into lang/fpc
8055+
math/fpc-gmp|lang/fpc|2023-11-12|This port was merged into lang/fpc
8056+
math/fpc-numlib|lang/fpc|2023-11-12|This port was merged into lang/fpc
8057+
math/fpc-fftw|lang/fpc|2023-11-12|This port was merged into lang/fpc
8058+
misc/fpc-chm|lang/fpc|2023-11-12|This port was merged into lang/fpc
8059+
multimedia/fpc-dts|lang/fpc|2023-11-12|This port was merged into lang/fpc
8060+
multimedia/fpc-libvlc|lang/fpc|2023-11-12|This port was merged into lang/fpc
8061+
net/fpc-ldap|lang/fpc|2023-11-12|This port was merged into lang/fpc
8062+
net/fpc-pcap|lang/fpc|2023-11-12|This port was merged into lang/fpc
8063+
net/fpc-libenet|lang/fpc|2023-11-12|This port was merged into lang/fpc
8064+
print/fpc-libcups|lang/fpc|2023-11-12|This port was merged into lang/fpc
8065+
security/fpc-gnutls|lang/fpc|2023-11-12|This port was merged into lang/fpc
8066+
security/fpc-openssl|lang/fpc|2023-11-12|This port was merged into lang/fpc
8067+
sysutils/fpc-utmp|lang/fpc|2023-11-12|This port was merged into lang/fpc
8068+
sysutils/fpc-uuid|lang/fpc|2023-11-12|This port was merged into lang/fpc
8069+
sysutils/fpc-syslog|lang/fpc|2023-11-12|This port was merged into lang/fpc
8070+
textproc/fpc-aspell|lang/fpc|2023-11-12|This port was merged into lang/fpc
8071+
textproc/fpc-libxml2|lang/fpc|2023-11-12|This port was merged into lang/fpc
8072+
www/fpc-libmicrohttpd|lang/fpc|2023-11-12|This port was merged into lang/fpc
8073+
www/fpc-httpd24|lang/fpc|2023-11-12|This port was merged into lang/fpc
8074+
www/fpc-googleapi|lang/fpc|2023-11-12|This port was merged into lang/fpc
8075+
www/fpc-webidl|lang/fpc|2023-11-12|This port was merged into lang/fpc
8076+
www/fpc-httpd22|lang/fpc|2023-11-12|This port was merged into lang/fpc
8077+
www/fpc-fastcgi|lang/fpc|2023-11-12|This port was merged into lang/fpc
8078+
x11/fpc-x11|lang/fpc|2023-11-12|This port was merged into lang/fpc
8079+
x11-fonts/fpc-libfontconfig|lang/fpc|2023-11-12|This port was merged into lang/fpc
8080+
x11-toolkits/fpc-xforms|lang/fpc|2023-11-12|This port was merged into lang/fpc
8081+
x11-toolkits/fpc-gtk2|lang/fpc|2023-11-12|This port was merged into lang/fpc

Mk/Uses/fpc.mk

Lines changed: 17 additions & 162 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,14 @@
33
#
44
# Feature: fpc
55
# Usage: USES=fpc
6-
# Valid ARGS: (none), run, base, all
6+
# Valid ARGS: (none), run
77
#
8-
# run - Free pascal units will be registered also as run dependencies.
9-
#
10-
# base - This automatically will install all base units of fpc
11-
# (gdbint graph ibase libasync hash httpd mysql netdb odbc
12-
# oracle pasjpeg paszlib pthreads postgres regexpr and sqlite).
13-
#
14-
# all - This automatically will install all free pascal units.
15-
#
16-
# if you need install additional fpc units, they can be listed there (USE_FPC=gtk2 x11 opengl).
8+
# run - Free pascal compiler and units will be registered also
9+
# as run dependencies.
1710
#
1811
# Example:
1912
#
2013
# USES+= fpc:run
21-
# USE_FPC=gtk2
2214
#
2315

2416
.if !defined(_INCLUDE_USES_FPC_MK)
@@ -31,8 +23,8 @@ _INCLUDE_USES_FPC_MK= yes
3123
WARNING+= "DEFAULT_FPC_VER is defined, consider using DEFAULT_VERSIONS=fpc=${DEFAULT_FPC_VER} instead"
3224
. endif
3325

34-
. if ${fpc_ARGS:Nrun:Nbase:Nall}
35-
IGNORE= Unknown argument for USES=fpc: ${fpc_ARGS:Nrun:Nbase:Nall}
26+
. if ${fpc_ARGS:Nrun}
27+
IGNORE= Unknown argument for USES=fpc: ${fpc_ARGS:Nrun}
3628
. endif
3729

3830
DEFAULT_FPC_VER= ${FPC_DEFAULT}
@@ -58,159 +50,22 @@ ONLY_FOR_ARCHS= i386 amd64
5850
ONLY_FOR_ARCHS_REASON= not yet ported to anything other than i386 and amd64
5951
. endif
6052

61-
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils \
62-
${PPNAME}:lang/fpc
63-
64-
BUILDNAME= ${FPC_ARCH}-${OPSYS:tl}
65-
UNITSDIR= ${LOCALBASE}/lib/fpc/${FPC_VER}/units/${BUILDNAME}
66-
MKINSTDIR= ${LOCALBASE}/lib/fpc/${FPC_VER}/fpmkinst/${BUILDNAME}
67-
68-
_FPC_ALL_UNITS= a52 aspell bfd bzip2 cairo chm dblib dbus dts fastcgi \
69-
fcl-async fcl-base fcl-db fcl-extra fcl-fpcunit fcl-image \
70-
fcl-js fcl-json fcl-net fcl-passrc fcl-pdf fcl-registry \
71-
fcl-report fcl-res fcl-sdo fcl-sound fcl-stl fcl-web fcl-xml \
72-
fftw fpindexer fppkg fv gdbint gdbm gnutls gmp googleapi \
73-
graph gtk2 hermes httpd22 httpd24 ibase iconvenc imagemagick \
74-
ldap libcups libcurl libenet libfontconfig libgd libmagic \
75-
libmicrohttpd libpng libvlc libxml2 lua mad modplug \
76-
mysql ncurses newt numlib odata odbc oggvorbis openal opengl openssl \
77-
oracle pasjpeg pastojs pcap postgres proj4 pthreads pxlib \
78-
regexpr rexx rsvg rtl-console rtl-extra rtl-generics rtl-objpas \
79-
rtl-unicode sdl sqlite svgalib symbolic syslog tplylib unzip \
80-
users utmp uuid vcl-compat webidl x11 xforms zlib
81-
82-
. if ${fpc_ARGS:Mbase}
83-
USE_FPC= gdbint graph httpd22 httpd24 ibase mysql odbc oracle pasjpeg \
84-
postgres pthreads regexpr sqlite
53+
. if !defined(WANT_FPC_DEVEL)
54+
FPC_DEVELSUFFIX= #
55+
. else
56+
FPC_DEVELSUFFIX= -devel
8557
. endif
8658

87-
. if ${fpc_ARGS:Mall}
88-
USE_FPC= ${_FPC_ALL_UNITS}
89-
. endif
59+
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils \
60+
${LOCALBASE}/lib/fpc/${FPC_VER}/${PPNAME}:lang/fpc${FPC_DEVELSUFFIX}
9061

91-
. if defined(USE_FPC) && ${USE_FPC:tl} != "yes"
92-
. for UNITS in ${USE_FPC}
93-
. if ${_FPC_ALL_UNITS:M${UNITS}}==""
94-
IGNORE= cannot install: unknown FPC unit ${UNITS}
95-
. endif
96-
. endfor
62+
. if ${fpc_ARGS:Mrun}
63+
RUN_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils \
64+
${LOCALBASE}/lib/fpc/${FPC_VER}/${PPNAME}:lang/fpc${FPC_DEVELSUFFIX}
9765
. endif
9866

99-
# Base units
100-
gdbint_UNIT= devel/fpc-gdbint
101-
graph_UNIT= graphics/fpc-graph
102-
httpd22_UNIT= www/fpc-httpd22
103-
httpd24_UNIT= www/fpc-httpd24
104-
ibase_UNIT= databases/fpc-ibase
105-
mysql_UNIT= databases/fpc-mysql
106-
odbc_UNIT= databases/fpc-odbc
107-
oracle_UNIT= databases/fpc-oracle
108-
pasjpeg_UNIT= graphics/fpc-pasjpeg
109-
postgres_UNIT= databases/fpc-postgres
110-
pthreads_UNIT= devel/fpc-pthreads
111-
regexpr_UNIT= devel/fpc-regexpr
112-
sqlite_UNIT= databases/fpc-sqlite
113-
114-
# Extra units
115-
a52_UNIT= audio/fpc-a52
116-
aspell_UNIT= textproc/fpc-aspell
117-
bfd_UNIT= devel/fpc-bfd
118-
bzip2_UNIT= archivers/fpc-bzip2
119-
cairo_UNIT= graphics/fpc-cairo
120-
chm_UNIT= misc/fpc-chm
121-
dblib_UNIT= databases/fpc-dblib
122-
dbus_UNIT= devel/fpc-dbus
123-
dts_UNIT= multimedia/fpc-dts
124-
fastcgi_UNIT= www/fpc-fastcgi
125-
fcl_async_UNIT= devel/fpc-fcl-async
126-
fcl_base_UNIT= devel/fpc-fcl-base
127-
fcl_db_UNIT= devel/fpc-fcl-db
128-
fcl_extra_UNIT= devel/fpc-fcl-extra
129-
fcl_fpcunit_UNIT= devel/fpc-fcl-fpcunit
130-
fcl_image_UNIT= devel/fpc-fcl-image
131-
fcl_js_UNIT= devel/fpc-fcl-js
132-
fcl_json_UNIT= devel/fpc-fcl-json
133-
fcl_net_UNIT= devel/fpc-fcl-net
134-
fcl_passrc_UNIT= devel/fpc-fcl-passrc
135-
fcl_pdf_UNIT= devel/fpc-fcl-pdf
136-
fcl_registry_UNIT= devel/fpc-fcl-registry
137-
fcl_report_UNIT= devel/fpc-fcl-report
138-
fcl_res_UNIT= devel/fpc-fcl-res
139-
fcl_sdo_UNIT= devel/fpc-fcl-sdo
140-
fcl_sound_UNIT= devel/fpc-fcl-sound
141-
fcl_stl_UNIT= devel/fpc-fcl-stl
142-
fcl_web_UNIT= devel/fpc-fcl-web
143-
fcl_xml_UNIT= devel/fpc-fcl-xml
144-
fftw_UNIT= math/fpc-fftw
145-
fpindexer_UNIT= databases/fpc-fpindexer
146-
fppkg_UNIT= devel/fpc-fppkg
147-
fpvectorial_UNIT= graphics/fpc-fpvectorial
148-
fv_UNIT= devel/fpc-fv
149-
hermes_UNIT= graphics/fpc-hermes
150-
gdbm_UNIT= databases/fpc-gdbm
151-
gnutls_UNIT= security/fpc-gnutls
152-
gmp_UNIT= math/fpc-gmp
153-
googleapi_UNIT= www/fpc-googleapi
154-
gtk2_UNIT= x11-toolkits/fpc-gtk2
155-
iconvenc_UNIT= converters/fpc-iconvenc
156-
imagemagick_UNIT= graphics/fpc-imagemagick
157-
ldap_UNIT= net/fpc-ldap
158-
libcurl_UNIT= ftp/fpc-libcurl
159-
libcups_UNIT= print/fpc-libcups
160-
libenet_UNIT= net/fpc-libenet
161-
libfontconfig_UNIT= x11-fonts/fpc-libfontconfig
162-
libgd_UNIT= graphics/fpc-libgd
163-
libmagic_UNIT= devel/fpc-libmagic
164-
libmicrohttpd_UNIT= www/fpc-libmicrohttpd
165-
libpng_UNIT= graphics/fpc-libpng
166-
libvlc_UNIT= multimedia/fpc-libvlc
167-
libxml2_UNIT= textproc/fpc-libxml2
168-
lua_UNIT= lang/fpc-lua
169-
mad_UNIT= audio/fpc-mad
170-
modplug_UNIT= audio/fpc-modplug
171-
newt_UNIT= devel/fpc-newt
172-
ncurses_UNIT= graphics/fpc-ncurses
173-
numlib_UNIT= math/fpc-numlib
174-
odata_UNIT= devel/fpc-odata
175-
oggvorbis_UNIT= audio/fpc-oggvorbis
176-
openal_UNIT= audio/fpc-openal
177-
opengl_UNIT= graphics/fpc-opengl
178-
openssl_UNIT= security/fpc-openssl
179-
pastojs_UNIT= lang/fpc-pastojs
180-
pcap_UNIT= net/fpc-pcap
181-
proj4_UNIT= graphics/fpc-proj4
182-
pxlib_UNIT= databases/fpc-pxlib
183-
rexx_UNIT= lang/fpc-rexx
184-
rsvg_UNIT= graphics/fpc-rsvg
185-
rtl_console_UNIT= lang/fpc-rtl-console
186-
rtl_extra_UNIT= lang/fpc-rtl-extra
187-
rtl_generics_UNIT= lang/fpc-rtl-generics
188-
rtl_objpas_UNIT= lang/fpc-rtl-objpas
189-
rtl_unicode_UNIT= lang/fpc-rtl-unicode
190-
sdl_UNIT= devel/fpc-sdl
191-
svgalib_UNIT= graphics/fpc-svgalib
192-
symbolic_UNIT= devel/fpc-symbolic
193-
syslog_UNIT= sysutils/fpc-syslog
194-
tplylib_UNIT= devel/fpc-tplylib
195-
unzip_UNIT= archivers/fpc-unzip
196-
users_UNIT= sysutils/fpc-users
197-
utmp_UNIT= sysutils/fpc-utmp
198-
uuid_UNIT= sysutils/fpc-uuid
199-
vcl_compat_UNIT= graphics/fpc-vcl-compat
200-
webidl_UNIT= www/fpc-webidl
201-
x11_UNIT= x11/fpc-x11
202-
xforms_UNIT= x11-toolkits/fpc-xforms
203-
zlib_UNIT= devel/fpc-zlib
204-
205-
.endif
67+
BUILDNAME= ${FPC_ARCH}-${OPSYS:tl}
68+
UNITSDIR= ${LOCALBASE}/lib/fpc/${FPC_VER}/units/${BUILDNAME}
69+
MKINSTDIR= ${LOCALBASE}/lib/fpc/${FPC_VER}/fpmkinst/${BUILDNAME}
20670

207-
.if defined(USE_FPC)
208-
. for UNIT in ${USE_FPC}
209-
. if ${_FPC_ALL_UNITS:M${UNIT}} != ""
210-
BUILD_DEPENDS+= ${MKINSTDIR}/${UNIT}.fpm:${${UNIT:S/-/_/}_UNIT}
211-
. if ${fpc_ARGS:Mrun} || ${fpc_ARGS:Mbase}
212-
RUN_DEPENDS+= ${MKINSTDIR}/${UNIT}.fpm:${${UNIT:S/-/_/}_UNIT}
213-
. endif
214-
. endif
215-
. endfor
21671
.endif

Mk/Uses/lazarus.mk

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Feature: lazarus
44
# Usage: USES=lazarus
5-
# Valid ARGS: (none), gtk2, qt5, flavors
5+
# Valid ARGS: (none), gtk2, qt5, qt6, flavors
66
#
77
# (none) - This automatically build lazarus-app with gtk2 interface
88
#
@@ -75,13 +75,19 @@ LAZARUS_DIR?= ${LOCALBASE}/share/lazarus-${LAZARUS_VER}
7575
ONLY_FOR_ARCHS= i386 amd64
7676
ONLY_FOR_ARCHS_REASON= not yet ported to anything other than i386 and amd64
7777

78-
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils \
79-
fpcres:lang/fpc-utils
78+
. if !defined(WANT_FPC_DEVEL)
79+
FPC_DEVELSUFFIX= #
80+
. else
81+
FPC_DEVELSUFFIX= -devel
82+
. endif
8083

8184
BUILDNAME= ${LAZARUS_ARCH}-${OPSYS:tl}
8285
LCL_UNITS_DIR= ${LOCALBASE}/share/lazarus-${LAZARUS_VER}/lcl/units/${BUILDNAME}
8386
MKINSTDIR= ${LOCALBASE}/lib/fpc/${FPC_VER}/fpmkinst/${BUILDNAME}
8487

88+
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils \
89+
${MKINSTDIR}/utils-lexyacc.fpm:lang/fpc${FPC_DEVELSUFFIX}
90+
8591
LAZARUS_FLAVORS= gtk2 qt5
8692

8793
. if defined(WANT_LAZARUS_DEVEL)
@@ -111,7 +117,6 @@ LAZARUS_DEVELSUFFIX= -devel
111117
. endif
112118

113119
. if ${lazarus_ARGS:Mgtk2} || ${FLAVOR} == gtk2
114-
BUILD_DEPENDS+= ${MKINSTDIR}/gtk2.fpm:x11-toolkits/fpc-gtk2
115120
LIB_DEPENDS+= libglib-2.0.so:devel/glib20 \
116121
libgtk-x11-2.0.so:x11-toolkits/gtk20 \
117122
libatk-1.0.so:accessibility/at-spi2-core \

Mk/bsd.default-versions.mk

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,12 @@ EBUR128_DEFAULT?= legacy
5050
FIREBIRD_DEFAULT?= 3.0
5151
# Possible values: gfortran
5252
FORTRAN_DEFAULT?= gfortran
53-
# Possible values: 3.2.2
53+
# Possible values: 3.2.2, 3.3.1
54+
. if !defined(WANT_FPC_DEVEL)
5455
FPC_DEFAULT?= 3.2.2
56+
. else
57+
FPC_DEFAULT?= 3.3.1
58+
. endif
5559
# Possible values: 8 (last to support powerpcspe), 9, 10, 11, 12
5660
# (Any other version is completely unsupported and not meant for general use.)
5761
. if ${ARCH} == "powerpcspe"

archivers/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131
SUBDIR += engrampa
3232
SUBDIR += fastjar
3333
SUBDIR += file-roller
34-
SUBDIR += fpc-bzip2
35-
SUBDIR += fpc-unzip
3634
SUBDIR += gcab
3735
SUBDIR += gcpio
3836
SUBDIR += gnome-autoar

archivers/fpc-bzip2/Makefile

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)