Changeset View
Changeset View
Standalone View
Standalone View
databases/db6/Makefile
Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | |||||
TCL_USES= tcl:85+ | TCL_USES= tcl:85+ | ||||
TCL_CONFIGURE_WITH= tcl=${TCL_LIBDIR} | TCL_CONFIGURE_WITH= tcl=${TCL_LIBDIR} | ||||
TCL_VARS= DBLIBS+=libdb_tcl | TCL_VARS= DBLIBS+=libdb_tcl | ||||
DOCS_INSTALL_TARGET= install_docs | DOCS_INSTALL_TARGET= install_docs | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${ARCH} == aarch64 | .if ${ARCH} == aarch64 | ||||
. if ${OSVERSION} > 1100100 | |||||
CONFIGURE_ARGS+= --with-mutex=POSIX/pthreads | CONFIGURE_ARGS+= --with-mutex=POSIX/pthreads | ||||
. else | |||||
CONFIGURE_ARGS+= --enable-posixmutexes | |||||
. endif | |||||
.endif | .endif | ||||
post-patch: | post-patch: | ||||
${REINPLACE_CMD} -e '/^DOCLIST/{s/csharp//;}' ${WRKSRC}/../dist/Makefile.in | ${REINPLACE_CMD} -e '/^DOCLIST/{s/csharp//;}' ${WRKSRC}/../dist/Makefile.in | ||||
${REINPLACE_CMD} -Ee 's/[[:<:]]atomic_init[[:>:]]/db_atomic_init/g' \ | ${REINPLACE_CMD} -Ee 's/[[:<:]]atomic_init[[:>:]]/db_atomic_init/g' \ | ||||
${WRKSRC}/../src/mp/mp* ${WRKSRC}/../src/mutex/mut_* \ | ${WRKSRC}/../src/mp/mp* ${WRKSRC}/../src/mutex/mut_* \ | ||||
${WRKSRC}/../src/dbinc/atomic.h | ${WRKSRC}/../src/dbinc/atomic.h | ||||
${REINPLACE_CMD} -e 's/%%BDBVER%%/${BDBVER}/' ${WRKSRC}/../lang/sql/upgrade61.sh | ${REINPLACE_CMD} -e 's/%%BDBVER%%/${BDBVER}/' ${WRKSRC}/../lang/sql/upgrade61.sh | ||||
Show All 35 Lines |