1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

lang/fpc-devel*: Fix stage-qa issues

- Bump PORTREVISION
Reported by:	danfe via email
This commit is contained in:
Jose Alonso Cardenas Marquez 2024-01-05 13:10:40 -05:00
parent 2e0e0bedd5
commit 3dd1d15756
No known key found for this signature in database
GPG Key ID: 335B9246BA5E30F4
3 changed files with 18 additions and 9 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= fpc-devel
PORTVERSION= 3.3.1.20240103
PORTREVISON= 1
CATEGORIES= lang
PKGNAMESUFFIX= -source
DIST_SUBDIR= freepascal
@ -17,14 +18,11 @@ GL_ACCOUNT= fpc
GL_PROJECT= source
GL_TAGNAME= f86a9bd5c026c7a10a165a8225bcf83e17c47b25
PORTDATA= *
PLIST= ${WRKDIR}/pkg-plist
PATCHDIR= ${PORTSDIR}/lang/fpc-devel/files
DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}-${FPCBASEVER}
WRKSRC= ${WRKDIR}/${FPCSRCDIR}
FPCBASEVER= 3.3.1
FPCSRCDIR= source-${GL_TAGNAME}
.include <bsd.port.pre.mk>
@ -36,6 +34,7 @@ FPC_ARCH= x86_64
post-extract:
${RM} -R ${WRKSRC}/.git*
${RM} ${WRKSRC}/packages/fcl-web/examples/httpserver/simplehttpserver
post-patch:
.if ${OPSYS} == FreeBSD
@ -51,14 +50,14 @@ post-patch:
.if empty(ICONV_LIB)
@${REINPLACE_CMD} -i "" -e "s|s<>'c'|(s<>'c') and (s<>'iconv')|" \
-e "s|%%FPC_LDPATH%%|${FPC_LDPATH}|g" \
${WRKDIR}/${FPCSRCDIR}/compiler/systems/t_bsd.pas
${WRKSRC}/compiler/systems/t_bsd.pas
@${REINPLACE_CMD} -e 's|defined(bsd) and not ||' \
${WRKDIR}/${FPCSRCDIR}/rtl/unix/cwstring.pp
${WRKSRC}/rtl/unix/cwstring.pp
.endif
@${REINPLACE_CMD} -i "" -e '/samplecfg/ {s/INSTALLEXE/INSTALLSCR/;}' \
${WRKDIR}/${FPCSRCDIR}/compiler/Makefile
${WRKSRC}/compiler/Makefile
@${REINPLACE_CMD} -i "" -e 's|/usr/local|${PREFIX}|g' \
${WRKDIR}/${FPCSRCDIR}/packages/fpmkunit/src/fpmkunit.pp
${WRKSRC}/packages/fpmkunit/src/fpmkunit.pp
# enable or disable units
@${REINPLACE_CMD} -i "" -e 's|linux|freebsd,linux|g' \
${WRKSRC}/packages/a52/fpmake.pp
@ -103,6 +102,12 @@ post-patch:
@${REINPLACE_CMD} -i "" -e 's|linux|freebsd,linux|g' \
${WRKSRC}/packages/zorba/fpmake.pp
pre-install:
@${RM} -f ${PLIST}
@cd ${WRKSRC} && \
${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} && \
${FIND} * -type d | ${SORT} -r | ${SED} -e 's|^|@dir %%DATADIR%%/|' >> ${PLIST}
do-install:
(cd ${WRKSRC} && ${COPYTREE_SHARE} . \
${STAGEDIR}${DATADIR})

View File

@ -1,6 +1,6 @@
PORTNAME= fpc
PORTVERSION= 3.3.1.20240103
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= LOCAL/acm/freepascal/:bootstrap \
LOCAL/acm/freepascal/:man

View File

@ -1857,6 +1857,8 @@ lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/graph/ptcgraph.o
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/graph/ptcgraph.ppu
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/graph/ptcmouse.o
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/graph/ptcmouse.ppu
%%FPC_I386%%lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/graph/sdlgraph.o
%%FPC_I386%%lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/graph/sdlgraph.ppu
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gst/gst.o
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gst/gst.ppu
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/atk.o
@ -2692,6 +2694,8 @@ lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/sdl/sdl_net.o
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/sdl/sdl_net.ppu
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/sdl/sdl_ttf.o
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/sdl/sdl_ttf.ppu
%%FPC_I386%%lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/sdl/sdlutils.o
%%FPC_I386%%lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/sdl/sdlutils.ppu
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/sdl/smpeg.o
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/sdl/smpeg.ppu
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/sqlite/sqlite.o