summaryrefslogtreecommitdiff
path: root/databases/sqsh/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2001-06-11 02:05:07 +0000
committerjlam <jlam>2001-06-11 02:05:07 +0000
commit8bbd4f1feea4465410823a4908f2eaec42ed8814 (patch)
tree8a4903fb4961ac3e5118ca00c446b0bcfea9697d /databases/sqsh/Makefile
parent41bd0472789e2aed59f5f11fd815b22441b4b155 (diff)
downloadpkgsrc-8bbd4f1feea4465410823a4908f2eaec42ed8814.tar.gz
The buildlink include and lib directories are added to CFLAGS, CPPFLAGS,
CXXFLAGS, and LDFLAGS by the buildlink.mk files so remove the extra definitions to add them from the package Makefiles. As advised by the bsd.buildlink.mk file, also ensure that the buildlink.mk files are included prior to defining any package-specific CFLAGS/LDFLAGS to ensure that the buildlink directories are at the head of the compiler search paths.
Diffstat (limited to 'databases/sqsh/Makefile')
-rw-r--r--databases/sqsh/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/databases/sqsh/Makefile b/databases/sqsh/Makefile
index 882b4ab7572..469b1c268ec 100644
--- a/databases/sqsh/Makefile
+++ b/databases/sqsh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/06/10 00:08:43 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2001/06/11 02:05:09 jlam Exp $
DISTNAME= sqsh-1.7-src
PKGNAME= sqsh-1.7
@@ -24,8 +24,7 @@ LDFLAGS+= -Wl,-R${SYBASE}/lib
.include "../../devel/readline/buildlink.mk"
-LDFLAGS+= -L${BUILDLINK_LIBDIR}
-CONFIGURE_ENV+= INCDIRS="${BUILDLINK_INCDIR}"
-CONFIGURE_ENV+= LIBDIRS="${BUILDLINK_LIBDIR}"
+CONFIGURE_ENV+= INCDIRS="${BUILDLINK_DIR}/include"
+CONFIGURE_ENV+= LIBDIRS="${BUILDLINK_DIR}/lib"
.include "../../mk/bsd.pkg.mk"