[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / databases / sqsh

File: [cvs.NetBSD.org] / pkgsrc / databases / sqsh / Makefile (download)

Revision 1.7, Sun Jun 10 00:08:43 2001 UTC (18 years, 6 months ago) by jlam
Branch: MAIN
Changes since 1.6: +1 -3 lines

Remove dependency on ${BUILDLINK_TARGETS} in pre-configure and pre-build
targets as the buildlink.mk files now add the dependency automatically.
Remove any NO_CONFIGURE definitions as they seem to be useless.

# $NetBSD: Makefile,v 1.7 2001/06/10 00:08:43 jlam Exp $

DISTNAME=	sqsh-1.7-src
PKGNAME=	sqsh-1.7
WRKSRC=		${WRKDIR}/${PKGNAME}
CATEGORIES=	databases
MASTER_SITES=	http://www.voicenet.com/~gray/

MAINTAINER=	tsarna@netbsd.org
HOMEPAGE=	http://www.voicenet.com/~gray/sqsh.html
COMMENT=	Sybase SQL shell

DEPENDS+=       freetds>=0.50:../../databases/freetds

ALL_TARGET=	sqsh
INSTALL_TARGET=	install install.man

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-readline
CONFIGURE_ENV+=		SYBASE="${SYBASE}"

SYBASE=			${PREFIX}/freetds
LDFLAGS+=		-Wl,-R${SYBASE}/lib

.include "../../devel/readline/buildlink.mk"

LDFLAGS+=		-L${BUILDLINK_LIBDIR}
CONFIGURE_ENV+=		INCDIRS="${BUILDLINK_INCDIR}"
CONFIGURE_ENV+=		LIBDIRS="${BUILDLINK_LIBDIR}"

.include "../../mk/bsd.pkg.mk"