git: 8c4a2aa6c4bc - main - lang/fpc: Install missing serial unit

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Sat, 23 Dec 2023 01:12:02 UTC
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8c4a2aa6c4bcd55eddfe9c54017a7e47755fa8f6

commit 8c4a2aa6c4bcd55eddfe9c54017a7e47755fa8f6
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2023-12-23 00:13:20 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2023-12-23 01:11:51 +0000

    lang/fpc: Install missing serial unit
    
    - Bump PORTREVISION
---
 lang/fpc-source/Makefile                          |  2 +-
 lang/fpc/Makefile                                 |  2 +-
 lang/fpc/files/patch-packages-rtl-extra_fpmake.pp | 11 +++++++++++
 lang/fpc/pkg-plist                                |  2 ++
 4 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/lang/fpc-source/Makefile b/lang/fpc-source/Makefile
index 2db5142876fa..ec232b2d20bd 100644
--- a/lang/fpc-source/Makefile
+++ b/lang/fpc-source/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	fpc
 PORTVERSION=	3.2.2
-PORTREVISION=	2
+PORTREVISION=	3
 DISTVERSIONSUFFIX=.source
 CATEGORIES=	lang
 MASTER_SITES=	ftp://ftp.freepascal.org/pub/fpc/dist/${PORTVERSION}/source/ \
diff --git a/lang/fpc/Makefile b/lang/fpc/Makefile
index 01b2ecbeb4fe..b5f241509213 100644
--- a/lang/fpc/Makefile
+++ b/lang/fpc/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	fpc
 PORTVERSION=	3.2.2
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	lang
 MASTER_SITES=	SF/freepascal/Source/${PORTVERSION}:source \
 		https://downloads.freepascal.org/${PORTNAME}/dist/${PORTVERSION}/source/:source \
diff --git a/lang/fpc/files/patch-packages-rtl-extra_fpmake.pp b/lang/fpc/files/patch-packages-rtl-extra_fpmake.pp
new file mode 100644
index 000000000000..2ae84974d039
--- /dev/null
+++ b/lang/fpc/files/patch-packages-rtl-extra_fpmake.pp
@@ -0,0 +1,11 @@
+--- packages/rtl-extra/fpmake.pp	2023-12-22 17:55:32.220950000 -0500
++++ packages/rtl-extra/fpmake.pp	2023-12-22 17:55:43.080664000 -0500
+@@ -20,7 +20,7 @@
+ //  IPCcdeclOSes  = [Darwin,iphonesim,ios];
+ 
+   PrinterOSes   = [go32v2,msdos,os2,win32,win64]+unixlikes-[beos,haiku,morphos];
+-  SerialOSes    = [android,linux,netbsd,openbsd,win32,win64];
++  SerialOSes    = [android,linux,freebsd,netbsd,openbsd,win32,win64];
+   UComplexOSes  = [atari,embedded,emx,gba,go32v2,msdos,nativent,nds,netware,netwlibc,os2,symbian,watcom,wii,wince,win32,win64]+UnixLikes+AllAmigaLikeOSes;
+   MatrixOSes    = [atari,embedded,emx,gba,go32v2,msdos,nativent,nds,netware,netwlibc,os2,symbian,watcom,wii,win32,win64,wince]+UnixLikes+AllAmigaLikeOSes;
+   ObjectsOSes   = [atari,embedded,emx,gba,go32v2,macosclassic,msdos,nds,netware,netwlibc,os2,symbian,watcom,wii,win16,win32,win64,wince]+UnixLikes+AllAmigaLikeOSes;
diff --git a/lang/fpc/pkg-plist b/lang/fpc/pkg-plist
index 98d9b1cc8785..085478620ff4 100644
--- a/lang/fpc/pkg-plist
+++ b/lang/fpc/pkg-plist
@@ -2162,6 +2162,8 @@ lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/rtl-extra/printer.o
 lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/rtl-extra/printer.ppu
 lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/rtl-extra/real48utils.o
 lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/rtl-extra/real48utils.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/rtl-extra/serial.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/rtl-extra/serial.ppu
 lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/rtl-extra/sockets.o
 lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/rtl-extra/sockets.ppu
 lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/rtl-extra/ucomplex.o