git: 0eecf930e699 - main - databases/ruby-bdb: Clean up Makefile
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 08 Sep 2024 18:55:28 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0eecf930e699bb4bedb696c0374adec81049684a
commit 0eecf930e699bb4bedb696c0374adec81049684a
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-08 18:33:07 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-08 18:40:17 +0000
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 <bsd.port.options.mk>
-
-.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