git: 28cb0981fe55 - main - lang/fpc-devel: Install missing serial unit

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=28cb0981fe55243961d37a90198df0607f572e77

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

    lang/fpc-devel: Install missing serial unit
    
    - Bump PORTREVISION
---
 lang/fpc-devel-source/Makefile                          |  2 +-
 lang/fpc-devel/files/patch-packages-rtl-extra_fpmake.pp | 11 +++++++++++
 lang/fpc-devel/pkg-plist                                |  2 ++
 3 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/lang/fpc-devel-source/Makefile b/lang/fpc-devel-source/Makefile
index b5f86a1c3124..218680a1630a 100644
--- a/lang/fpc-devel-source/Makefile
+++ b/lang/fpc-devel-source/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	fpc-devel
 PORTVERSION=	3.3.1.20231027
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	lang
 PKGNAMESUFFIX=	-source
 DIST_SUBDIR=	freepascal
diff --git a/lang/fpc-devel/files/patch-packages-rtl-extra_fpmake.pp b/lang/fpc-devel/files/patch-packages-rtl-extra_fpmake.pp
new file mode 100644
index 000000000000..7c9b7d82cc64
--- /dev/null
+++ b/lang/fpc-devel/files/patch-packages-rtl-extra_fpmake.pp
@@ -0,0 +1,11 @@
+--- packages/rtl-extra/fpmake.pp	2023-10-27 17:59:48.000000000 -0500
++++ packages/rtl-extra/fpmake.pp	2023-12-22 18:28:44.664770000 -0500
+@@ -20,7 +20,7 @@
+ //  IPCcdeclOSes  = [Darwin,iphonesim,ios];
+ 
+   PrinterOSes   = [go32v2,msdos,os2,win32,win64,atari]+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,sinclairql,symbian,watcom,wii,wince,win32,win64,freertos,wasi]+UnixLikes+AllAmigaLikeOSes;
+   MatrixOSes    = [atari,embedded,emx,gba,go32v2,msdos,nativent,nds,netware,netwlibc,os2,sinclairql,symbian,watcom,wii,win32,win64,wince,freertos,wasi]+UnixLikes+AllAmigaLikeOSes;
+   ObjectsOSes   = [atari,embedded,emx,gba,go32v2,macosclassic,msdos,nds,netware,netwlibc,os2,sinclairql,symbian,watcom,wii,win16,win32,win64,wince,freertos,wasi]+UnixLikes+AllAmigaLikeOSes;
diff --git a/lang/fpc-devel/pkg-plist b/lang/fpc-devel/pkg-plist
index b1c681cbbef2..61527dd62167 100644
--- a/lang/fpc-devel/pkg-plist
+++ b/lang/fpc-devel/pkg-plist
@@ -2376,6 +2376,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/sortalgs.o