From 8e23c5107c2d1400ce075c5f99a4bf7879f40f6e Mon Sep 17 00:00:00 2001 From: grant Date: Sun, 31 Jul 2005 14:03:28 +0000 Subject: - remove hardcoded /usr/pkg in patch, simplify - honour CPPFLAGS, LDFLAGS, LIBS - needs -lnsl -lsocket on Solaris --- misc/open2300-mysql/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'misc/open2300-mysql') diff --git a/misc/open2300-mysql/Makefile b/misc/open2300-mysql/Makefile index 8f77c6a3b40..919be8fb329 100644 --- a/misc/open2300-mysql/Makefile +++ b/misc/open2300-mysql/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2005/07/31 13:35:37 grant Exp $ +# $NetBSD: Makefile,v 1.5 2005/07/31 14:03:28 grant Exp $ # PKGNAME= ${DISTNAME:S/-/-mysql-/} @@ -10,5 +10,9 @@ DISTINFO_FILE= ${.CURDIR}/../open2300/distinfo BUILD_TARGET= mysql2300 INSTALL_TARGET= install-mysql +LIBS+= -lmysqlclient +LIBS.SunOS+= -lnsl -lsocket +MAKE_ENV+= LIBS=${LIBS:Q} + .include "../../mk/mysql.buildlink3.mk" .include "../open2300/Makefile.common" -- cgit v1.2.3