diff options
author | netchild <netchild@FreeBSD.org> | 2003-12-05 01:34:21 +0800 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2003-12-05 01:34:21 +0800 |
commit | da5e086fa455880c52702a03fee8babf3f6db2c2 (patch) | |
tree | beb10530603a7aeecc8dc6b21262f37ac405a6c5 /databases/firebird-devel/Makefile | |
parent | 1c80738838a7a17c0c5f9b52a0e9a5dd30714b8d (diff) | |
download | freebsd-ports-gnome-da5e086fa455880c52702a03fee8babf3f6db2c2.tar.gz freebsd-ports-gnome-da5e086fa455880c52702a03fee8babf3f6db2c2.tar.zst freebsd-ports-gnome-da5e086fa455880c52702a03fee8babf3f6db2c2.zip |
- Update to 2.0.a0.
- Previous maintainer is now tha actual maintainer again.
- No package at the moment.
PR: 59001
Submitted by: chris@e-easy.com.au
Diffstat (limited to 'databases/firebird-devel/Makefile')
-rw-r--r-- | databases/firebird-devel/Makefile | 102 |
1 files changed, 35 insertions, 67 deletions
diff --git a/databases/firebird-devel/Makefile b/databases/firebird-devel/Makefile index e8725cb51752..0a36ab14ce3a 100644 --- a/databases/firebird-devel/Makefile +++ b/databases/firebird-devel/Makefile @@ -1,99 +1,67 @@ # New ports collection makefile for: Firebird-devel # Date created: 03 December 2001 -# Whom: Chris Knight <chris@aims.com.au> +# Whom: Chris Knight <chris@e-easy.com.au> # # $FreeBSD$ # PORTNAME= firebird -PORTVERSION= 1.0.r2 +PORTVERSION= 2.0.a0 CATEGORIES= databases -MASTER_SITES= http://www.aims.com.au/chris/ +MASTER_SITES= http://www.aims.net.au/chris/firebird/ MASTER_SITE_SUBDIR=firebird -DISTFILES= bootkit-RC2.tar.gz \ - interbase0.9-4-v5examples.tar.gz \ - Firebird-1.0.0-RC2-FreeBSD.tar.gz +PKGNAMESUFFIX= -devel +DISTNAME= firebird2-20031110 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= chris@e-easy.com.au COMMENT= The open-source InterBase(tm) 6.0 spin-off (Classic version) -FORBIDDEN= Local Stack Overflow, see http://packetstormsecurity.nl/0305-exploits/dsr-adv001.txt +USE_BZIP2= yes +USE_GMAKE= yes +USE_LIBTOOL= yes +GNU_CONFIGURE= yes +WANT_AUTOCONF_VER= 257 +USE_GCC= 3.3 -WRKSRC= ${WRKDIR}/interbase +CONFLICTS= firebird-1.* +NO_PACKAGE= pkg-install not finished + +WRKSRC= ${WRKDIR}/firebird2 INSTALLS_SHLIB= yes LDCONFIG_DIRS= %%PREFIX%%/firebird/lib MSG_FILE= ${PKGDIR}/pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message USE_REINPLACE= yes -USE_PERL5= yes ONLY_FOR_ARCHS= i386 .include <bsd.port.pre.mk> -do-extract: - @${MKDIR} ${WRKDIR} - @( \ - cd ${WRKDIR}; ${TAR} -zxf \ - ${DISTDIR}/Firebird-1.0.0-RC2-FreeBSD.tar.gz; \ - cd interbase; ${TAR} -zxf ${DISTDIR}/bootkit-RC2.tar.gz; \ - ${CP} ${FILESDIR}/boot.freebsd ${WRKDIR}/interbase/; \ - ${CP} ${FILESDIR}/make.freebsd ${WRKDIR}/interbase/; \ - ${CP} ${FILESDIR}/buildBootDatabases ${WRKDIR}/interbase/; \ - ${CP} msgs/msg.gbak misc/msg.gbak \ - ) - -post-patch: - @${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE} -.if ${OSVERSION} >= 500016 || ${OSVERSION} >= 430001 - @${REINPLACE_CMD} -e 's,\-ldescrypt,\-lcrypt,g' \ - ${WRKSRC}/builds/original/prefix.freebsd -.else - @${REINPLACE_CMD} -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c +pre-everything:: + @${ECHO_MSG} "NOTE: If the work directory is on an NFS mount, you will" + @${ECHO_MSG} "require NFS client locking support for the build to" + @${ECHO_MSG} "succeed. Currently this is only available on FreeBSD 5.0" + @${ECHO_MSG} "or greater." + @${ECHO_MSG} + @${ECHO_MSG} "WARNING: The on-disk structure of the databases has" + @${ECHO_MSG} "changed since version 1.0.x." + @${ECHO_MSG} "Cancel this installation now and backup your databases" + @${ECHO_MSG} "if you have not already done so." +.if !defined(BATCH) + @sleep 10 .endif +patch-libtool: + @${DO_NADA} + do-configure: - @( \ - cd ${WRKDIR}/interbase; \ - INTERBASE=${WRKDIR}/interbase/interbase; export INTERBASE; \ - REFDBPATH=${WRKDIR}/refDatabases; export REFDBPATH; \ - ${SH} buildBootDatabases; \ - NOPROMPT_SETUP=yes; export NOPROMPT_SETUP; \ - FIREBIRD_64_BIT_IO=yes; export FIREBIRD_64_BIT_IO; \ - ${CAT} builds_win32/original/build_no.ksh | ${TR} -d '\r' \ - > builds_win32/original/build_no.ksh.fix; \ - ${MV} builds_win32/original/build_no.ksh.fix \ - builds_win32/original/build_no.ksh; \ - ${SH} Configure.sh PROD FREEBSD; \ - ) + @(cd ${WRKSRC} && ${ENV} CC=${CC} CXX=${CXX} MAKE=${GMAKE} ./autogen.sh --prefix=${PREFIX}/firebird --with-lock-manager --with-editline) do-build: @( \ - ${ECHO_CMD} '#!/bin/sh'; ${ECHO_CMD} \ - '[ -d ${LDCONFIG_RUNLIST} ] && ${LDCONFIG} -m ${LDCONFIG_RUNLIST}'; \ - ) > ${WRKDIR}/000.${PORTNAME}.sh - @( \ - ${LN} -sf ${WRKDIR}/refDatabases/jrd/isc.gdb \ - ${WRKDIR}/interbase/interbase/isc4.gdb; \ - cd ${WRKDIR}/interbase; \ - INTERBASE=${WRKDIR}/interbase/interbase; export INTERBASE; \ - REFDBPATH=${WRKDIR}/refDatabases; export REFDBPATH; \ - ${SH} boot.freebsd; \ - ) - -do-install: - @( \ - cd ${WRKDIR}/interbase; \ - ${RM} ${WRKDIR}/interbase/interbase/isc4_tmp.gdb; \ - ${CP} /dev/null interbase/interbase.log; \ - ${CP} -Rp interbase ${PREFIX}/firebird; \ - ${RM} ${PREFIX}/firebird/install; \ - ${RM} ${PREFIX}/firebird/lib/libgds.so.1.0; \ - ${LN} -fs gds.so ${PREFIX}/firebird/lib/libgds.so.1; \ - cd ${PREFIX}/firebird/examples; \ - ${TAR} -xzf ${DISTDIR}/interbase0.9-4-v5examples.tar.gz; \ - ${CP} ${FILESDIR}/RELNOTES ${PREFIX}/firebird/; \ - ${INSTALL_SCRIPT} ${WRKDIR}/000.${PORTNAME}.sh ${PREFIX}/etc/rc.d/ \ + ${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE}; \ + cd ${WRKSRC}; \ + ${ENV} CC=${CC} CXX=${CXX} ${GMAKE} all; \ ) .include <bsd.port.post.mk> |