summaryrefslogtreecommitdiff
path: root/databases/db47/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-09-22 16:48:51 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-09-22 16:48:51 +0000
commitd2a1700331fff6c4c78ad5a5992326410665eed8 (patch)
tree030f1b56c4918c979841501a6c8c4abe46f0919c /databases/db47/Makefile
parentUpdate to version 1.3p6 (diff)
Several cleanups:
- properly install shared library (still needs more work); - use pthreads; - use libtool. PR: 21470 (partially) Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=33015
Diffstat (limited to 'databases/db47/Makefile')
-rw-r--r--databases/db47/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/databases/db47/Makefile b/databases/db47/Makefile
index ec9f123c3f2a..72a85bd88964 100644
--- a/databases/db47/Makefile
+++ b/databases/db47/Makefile
@@ -19,13 +19,17 @@ MANUAL_PACKAGE_BUILD= incompatible with libc internal db calls
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
INSTALLS_SHLIB= yes
-GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
CONFIGURE_SCRIPT= ../dist/configure
+LIBTOOLFILES= ${CONFIGURE_SCRIPT}
CONFIGURE_ARGS= --enable-compat185 \
--enable-dump185 --enable-cxx \
--enable-dynamic \
--prefix=${PREFIX} \
- --includedir=${PREFIX}/include/db3
-CONFIGURE_TARGET= $(ARCH)-unknown-freebsd$(OSREL)
+ --includedir=${PREFIX}/include/db3 \
+ --target=$(ARCH)-unknown-freebsd$(OSREL)
+
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|-pthread|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.mk>