aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-07-29 18:44:59 +0800
committervs <vs@FreeBSD.org>2005-07-29 18:44:59 +0800
commit005ac7c66567fb73a7c023ec9f1ef596d9ed4555 (patch)
tree29fb96e7e8bffd1e483d7ecd89e62b47fcbc6c4c
parentbbacf121dab0c21aa03a4ef777561d109c675c06 (diff)
downloadfreebsd-ports-gnome-005ac7c66567fb73a7c023ec9f1ef596d9ed4555.tar.gz
freebsd-ports-gnome-005ac7c66567fb73a7c023ec9f1ef596d9ed4555.tar.zst
freebsd-ports-gnome-005ac7c66567fb73a7c023ec9f1ef596d9ed4555.zip
Fix problems with gcc4
PR: ports/80916 Submitted by: Michael Edenfield via maintainer
-rw-r--r--databases/db43/Makefile3
-rw-r--r--databases/db44/Makefile3
-rw-r--r--databases/db45/Makefile3
-rw-r--r--databases/db46/Makefile3
-rw-r--r--databases/db47/Makefile3
5 files changed, 15 insertions, 0 deletions
diff --git a/databases/db43/Makefile b/databases/db43/Makefile
index d41e6eb00f9d..6c18ab53907f 100644
--- a/databases/db43/Makefile
+++ b/databases/db43/Makefile
@@ -48,6 +48,9 @@ pre-patch:
pre-configure:
${CHMOD} u+w ${WRKSRC}/../dist/configure
+post-configure:
+ @${REINPLACE_CMD} -e '/^extern void db_rpc_serverprog/ d;' ${WRKSRC}/db_server.h
+
post-install:
.for i in libdb libdb_cxx
${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.0 ${PREFIX}/lib
diff --git a/databases/db44/Makefile b/databases/db44/Makefile
index d41e6eb00f9d..6c18ab53907f 100644
--- a/databases/db44/Makefile
+++ b/databases/db44/Makefile
@@ -48,6 +48,9 @@ pre-patch:
pre-configure:
${CHMOD} u+w ${WRKSRC}/../dist/configure
+post-configure:
+ @${REINPLACE_CMD} -e '/^extern void db_rpc_serverprog/ d;' ${WRKSRC}/db_server.h
+
post-install:
.for i in libdb libdb_cxx
${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.0 ${PREFIX}/lib
diff --git a/databases/db45/Makefile b/databases/db45/Makefile
index d41e6eb00f9d..6c18ab53907f 100644
--- a/databases/db45/Makefile
+++ b/databases/db45/Makefile
@@ -48,6 +48,9 @@ pre-patch:
pre-configure:
${CHMOD} u+w ${WRKSRC}/../dist/configure
+post-configure:
+ @${REINPLACE_CMD} -e '/^extern void db_rpc_serverprog/ d;' ${WRKSRC}/db_server.h
+
post-install:
.for i in libdb libdb_cxx
${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.0 ${PREFIX}/lib
diff --git a/databases/db46/Makefile b/databases/db46/Makefile
index d41e6eb00f9d..6c18ab53907f 100644
--- a/databases/db46/Makefile
+++ b/databases/db46/Makefile
@@ -48,6 +48,9 @@ pre-patch:
pre-configure:
${CHMOD} u+w ${WRKSRC}/../dist/configure
+post-configure:
+ @${REINPLACE_CMD} -e '/^extern void db_rpc_serverprog/ d;' ${WRKSRC}/db_server.h
+
post-install:
.for i in libdb libdb_cxx
${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.0 ${PREFIX}/lib
diff --git a/databases/db47/Makefile b/databases/db47/Makefile
index d41e6eb00f9d..6c18ab53907f 100644
--- a/databases/db47/Makefile
+++ b/databases/db47/Makefile
@@ -48,6 +48,9 @@ pre-patch:
pre-configure:
${CHMOD} u+w ${WRKSRC}/../dist/configure
+post-configure:
+ @${REINPLACE_CMD} -e '/^extern void db_rpc_serverprog/ d;' ${WRKSRC}/db_server.h
+
post-install:
.for i in libdb libdb_cxx
${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.0 ${PREFIX}/lib