summaryrefslogtreecommitdiff
path: root/databases/p5-DBD-Sybase
diff options
context:
space:
mode:
authorjlam <jlam>2001-11-26 06:49:36 +0000
committerjlam <jlam>2001-11-26 06:49:36 +0000
commitae78e3c0497630c2e2ae971140d131df1f49e3bd (patch)
treeadb2df37f293a2d032459855304d52364a29788d /databases/p5-DBD-Sybase
parentdd8b34ee163899b6ef1c913a0b50c66a0ca0f04d (diff)
downloadpkgsrc-ae78e3c0497630c2e2ae971140d131df1f49e3bd.tar.gz
Buildlinkify, in the sense that only the perl headers are found in
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
Diffstat (limited to 'databases/p5-DBD-Sybase')
-rw-r--r--databases/p5-DBD-Sybase/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/databases/p5-DBD-Sybase/Makefile b/databases/p5-DBD-Sybase/Makefile
index fc833e61ffa..7dedea6d9d8 100644
--- a/databases/p5-DBD-Sybase/Makefile
+++ b/databases/p5-DBD-Sybase/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/10/18 15:20:07 veego Exp $
+# $NetBSD: Makefile,v 1.4 2001/11/26 06:49:40 jlam Exp $
#
DISTNAME= DBD-Sybase-0.23
@@ -11,16 +11,17 @@ MAINTAINER= rh@netbsd.org
HOMEPAGE= http://www.mbay.net/~mpeppler/
COMMENT= perl DBI/DBD driver for Sybase/MS-SQL databases
-DEPENDS+= freetds>=0.50:../../databases/freetds
DEPENDS+= p5-DBI>=1.13:../../databases/p5-DBI
-USE_PERL5= YES
+USE_BUILDLINK_ONLY= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/DBD/Sybase/.packlist
-MAKE_ENV+= SYBASE=${PREFIX}/freetds
-MAKE_PARAMS+= --noprompt
+LDFLAGS+= -Wl,-R${BUILDLINK_PREFIX.freetds}/freetds/lib
+MAKE_ENV+= SYBASE=${BUILDLINK_DIR}/freetds
do-configure:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS}
+.include "../../databases/freetds/buildlink.mk"
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"