aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-26 00:44:22 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-26 00:48:20 +0000
commit95274bf4f99c71fc056013d966aec239161dfd74 (patch)
treebc1e95977678cb5b6b00b33e333b28161885e706 /databases
parentdbe06d2da8c38d9d058f7939a7c6af36a2c0f1c7 (diff)
downloadports-95274bf4f99c71fc056013d966aec239161dfd74.tar.gz
ports-95274bf4f99c71fc056013d966aec239161dfd74.zip
Diffstat (limited to 'databases')
-rw-r--r--databases/R-cran-RSQLite/Makefile2
-rw-r--r--databases/libgda5/Makefile2
-rw-r--r--databases/pxlib/Makefile13
-rw-r--r--databases/ruby-bdb/Makefile2
-rw-r--r--databases/ruby-tokyocabinet/Makefile2
5 files changed, 10 insertions, 11 deletions
diff --git a/databases/R-cran-RSQLite/Makefile b/databases/R-cran-RSQLite/Makefile
index 57d259557186..b4f1606b222b 100644
--- a/databases/R-cran-RSQLite/Makefile
+++ b/databases/R-cran-RSQLite/Makefile
@@ -25,7 +25,7 @@ USES= cran:auto-plist,compiles
.include <bsd.port.options.mk>
post-patch:
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
@${REINPLACE_CMD} -e 's|PKG_CPPFLAGS=|PKG_CPPFLAGS=-Wno-error=enum-constexpr-conversion |g' \
${WRKSRC}/src/Makevars
.endif
diff --git a/databases/libgda5/Makefile b/databases/libgda5/Makefile
index aca18c8b9767..9885c146e4b4 100644
--- a/databases/libgda5/Makefile
+++ b/databases/libgda5/Makefile
@@ -98,7 +98,7 @@ CFLAGS+= -I${JAVA_HOME}/include -I${JAVA_HOME}/include/freebsd
CONFIGURE_ARGS+= --without-java
.endif
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
diff --git a/databases/pxlib/Makefile b/databases/pxlib/Makefile
index 06c033034d46..bd2db90d0012 100644
--- a/databases/pxlib/Makefile
+++ b/databases/pxlib/Makefile
@@ -11,26 +11,25 @@ LICENSE= GPLv2
BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser
-USES= gmake gnome iconv libtool pathfix perl5 pkgconfig
+USES= gmake gnome iconv libtool localbase:ldflags pathfix perl5 pkgconfig
USE_GNOME= intltool
+USE_LDCONFIG= yes
+
GNU_CONFIGURE= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-USE_LDCONFIG= yes
+INSTALL_TARGET= install-strip
OPTIONS_DEFINE= MANPAGES NLS
OPTIONS_SUB= yes
MANPAGES_BUILD_DEPENDS= docbook-to-man:textproc/docbook-to-man \
docbook2man:textproc/docbook-utils
-NLS_CONFIGURE_OFF= --disable-nls
NLS_USES= gettext
-INSTALL_TARGET= install-strip
+NLS_CONFIGURE_OFF= --disable-nls
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
diff --git a/databases/ruby-bdb/Makefile b/databases/ruby-bdb/Makefile
index 7396ee4a97bc..9eea5f986fbd 100644
--- a/databases/ruby-bdb/Makefile
+++ b/databases/ruby-bdb/Makefile
@@ -43,7 +43,7 @@ OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types"
.endif
diff --git a/databases/ruby-tokyocabinet/Makefile b/databases/ruby-tokyocabinet/Makefile
index 49c5cedd951d..34fddee3a907 100644
--- a/databases/ruby-tokyocabinet/Makefile
+++ b/databases/ruby-tokyocabinet/Makefile
@@ -25,7 +25,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types"
.endif