diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-11-20 13:15:12 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-11-20 13:15:12 +0000 |
commit | 0097a8100a176fa42b699ee14751a8ed8480331f (patch) | |
tree | 1aef4e388066d24f39f5038a975a97e640b801bc /databases/db41/Makefile | |
parent | 74b0ae42fd2b8e895a6e0cd679a56b94673c0155 (diff) | |
download | ports-0097a8100a176fa42b699ee14751a8ed8480331f.tar.gz ports-0097a8100a176fa42b699ee14751a8ed8480331f.zip |
Notes
Diffstat (limited to 'databases/db41/Makefile')
-rw-r--r-- | databases/db41/Makefile | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/databases/db41/Makefile b/databases/db41/Makefile index e164e7fa4a78..68489f6b63ee 100644 --- a/databases/db41/Makefile +++ b/databases/db41/Makefile @@ -7,37 +7,35 @@ PORTNAME= db4 PORTVERSION= 4.0.14 -#PORTREVISION= 2 -#PORTEPOCH= 1 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= http://www.sleepycat.com/update/snapshot/ DISTNAME= db-${PORTVERSION} DIST_SUBDIR= bdb -MAINTAINER= ports@FreeBSD.org - #PATCH_SITES= ${MASTER_SITES} #PATCHFILES= patch.${PORTVERSION}.1 patch.${PORTVERSION}.2 #PATCH_DIST_STRIP= -d ${WRKDIR}/${DISTNAME} +MAINTAINER= ports@FreeBSD.org + WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix -INSTALLS_SHLIB= yes -HAS_CONFIGURE= yes -USE_REINPLACE= yes +USE_REINPLACE= yes +GNU_CONFIGURE= yes CONFIGURE_SCRIPT= ../dist/configure -CONFIGURE_ARGS= --enable-compat185 \ - --enable-dump185 --enable-cxx \ - --enable-dynamic \ - --prefix=${PREFIX} \ - --includedir=${PREFIX}/include/db4 \ - --target=${ARCH}-unknown-freebsd${OSREL} +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ARGS= --enable-compat185 --enable-dump285 \ + --enable-cxx --enable-dynamic \ + --includedir=${PREFIX}/include/db4 +INSTALLS_SHLIB= yes -pre-patch: - @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT} +.if !defined(NOPORTDOCS) +INSTALL_TARGET= install install_docs +.endif post-patch: - @${CHMOD} 755 ${WRKSRC}/${CONFIGURE_SCRIPT} - @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/../dist/configure + @${REINPLACE_CMD} -e \ + 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT} .include <bsd.port.mk> |