ports/devel/ruby-subversion/Makefile
Muhammad Moinur Rahman d3e06072f2 devel/ruby-subversion: Fix build with llvm16
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
2023-07-19 21:27:15 +02:00

31 lines
712 B
Makefile

PKGNAMEPREFIX= ruby-
MAINTAINER= lev@FreeBSD.org
COMMENT= Ruby bindings for version control system
WWW= https://subversion.apache.org/
USES+= compiler:c11 ruby
PORTREVISION_114= 0
PORTREVISION_LTS= 0
SVN_BUILD_BINDINGS= yes
.include "${.CURDIR}/../../devel/subversion/Makefile.addons"
CATEGORIES+= ruby
CONFIGURE_ARGS+= --without-gnome-keyring \
--without-kwallet \
--with-apxs=no
ALL_TARGET= swig-rb-lib swig-rb
INSTALL_TARGET= install-swig-rb
CFLAGS+= -fdeclspec
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types
.endif
.include <bsd.port.post.mk>