diff options
Diffstat (limited to 'databases/db43/Makefile')
-rw-r--r-- | databases/db43/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/databases/db43/Makefile b/databases/db43/Makefile index ec9f123c3f2a..72a85bd88964 100644 --- a/databases/db43/Makefile +++ b/databases/db43/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> |