From 0eecf930e699bb4bedb696c0374adec81049684a Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Mon, 9 Sep 2024 02:33:07 +0800 Subject: [PATCH] databases/ruby-bdb: Clean up Makefile --- databases/ruby-bdb/Makefile | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/databases/ruby-bdb/Makefile b/databases/ruby-bdb/Makefile index 512f33bc608a..d69b37a582c7 100644 --- a/databases/ruby-bdb/Makefile +++ b/databases/ruby-bdb/Makefile @@ -26,9 +26,10 @@ SHEBANG_FILES= examples/basic.rb examples/cats.rb examples/cursor.rb \ examples/replication/base/mc.rb examples/replication/base/op.rb \ examples/replication/mgr/b.rb examples/txn.rb examples/zeroc.rb -CONFIGURE_ARGS= --with-db-include=${BDB_INCLUDE_DIR} \ - --with-db-lib=${BDB_LIB_DIR} ALL_TARGET= all rdoc +CONFIGURE_ARGS= --with-cflags=-Wno-incompatible-function-pointer-types \ + --with-db-include=${BDB_INCLUDE_DIR} \ + --with-db-lib=${BDB_LIB_DIR} INSTALL_TARGET= site-install WITH_BDB6_PERMITTED= yes @@ -42,12 +43,6 @@ PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES -.include - -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) -CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" -.endif - post-patch: @${RM} ${WRKSRC}/docs/*.orig