summaryrefslogtreecommitdiff
path: root/databases/sqsh
diff options
context:
space:
mode:
authorjlam <jlam>2001-05-24 08:53:54 +0000
committerjlam <jlam>2001-05-24 08:53:54 +0000
commit131cb1116e609a43c2ade4281eb7b6dbaa900389 (patch)
tree5f91b7729fd1bdb67af0af17bb78b53ca29f8bd6 /databases/sqsh
parent9a00b0f4237a8030968bd307dcf1d009979ef235 (diff)
downloadpkgsrc-131cb1116e609a43c2ade4281eb7b6dbaa900389.tar.gz
Standardize name of file to include for build-links to be "buildlink.mk".
Use BUILDLINK_INCDIR, BUILDLINK_LIBDIR for locations of linked headers and libraries. Create a variable BUILDLINK_TARGETS whose value is the list of build-link targets to execute.
Diffstat (limited to 'databases/sqsh')
-rw-r--r--databases/sqsh/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/databases/sqsh/Makefile b/databases/sqsh/Makefile
index e01fa196feb..8276baf09a8 100644
--- a/databases/sqsh/Makefile
+++ b/databases/sqsh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2001/05/22 05:28:23 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2001/05/24 08:53:55 jlam Exp $
DISTNAME= sqsh-1.7-src
PKGNAME= sqsh-1.7
@@ -22,12 +22,12 @@ CONFIGURE_ENV+= SYBASE="${SYBASE}"
SYBASE= ${PREFIX}/freetds
LDFLAGS+= -Wl,-R${SYBASE}/lib
-.include "../../devel/readline/Makefile.readline"
+.include "../../devel/readline/buildlink.mk"
-LDFLAGS+= -L${WRKLIBDIR}
-CONFIGURE_ENV+= INCDIRS="${WRKINCDIR}"
-CONFIGURE_ENV+= LIBDIRS="${WRKLIBDIR}"
+LDFLAGS+= -L${BUILDLINK_LIBDIR}
+CONFIGURE_ENV+= INCDIRS="${BUILDLINK_INCDIR}"
+CONFIGURE_ENV+= LIBDIRS="${BUILDLINK_LIBDIR}"
-pre-configure: link-readline-headers link-readline-libs
+pre-configure: ${BUILDLINK_TARGETS}
.include "../../mk/bsd.pkg.mk"