diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-10 13:43:59 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-10 17:14:07 +0000 |
commit | 25302f4e0b2d04a8c2a58ece681ba7e75935358b (patch) | |
tree | 2c8b607d8dc599d5e1ef7cb77ef345deafba6e43 /comms | |
parent | f8554250f5932e6f5d03ed4dddad948b91c6eda3 (diff) | |
download | ports-25302f4e0b2d04a8c2a58ece681ba7e75935358b.tar.gz ports-25302f4e0b2d04a8c2a58ece681ba7e75935358b.zip |
Diffstat (limited to 'comms')
-rw-r--r-- | comms/rubygem-serialport/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/comms/rubygem-serialport/Makefile b/comms/rubygem-serialport/Makefile index d0a9e5a8591b..6ccbf07d725d 100644 --- a/comms/rubygem-serialport/Makefile +++ b/comms/rubygem-serialport/Makefile @@ -12,4 +12,12 @@ LICENSE= GPLv2 USES= gem shebangfix SHEBANG_FILES= test/set_readtimeout.rb +.include <bsd.port.options.mk> + +post-patch: +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) + @${REINPLACE_CMD} -e 's|-DOS_\#{os.upcase}|-DOS_\#{os.upcase} -Wno-error=int-conversion|g' \ + ${WRKSRC}/ext/native/extconf.rb +.endif + .include <bsd.port.mk> |