summaryrefslogtreecommitdiff
path: root/misc/open2300-mysql
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2005-07-31 14:03:28 +0000
committergrant <grant@pkgsrc.org>2005-07-31 14:03:28 +0000
commita07a1029ca879043454eb152ec7c0f8055f0b085 (patch)
treea1d419b8d39ea74e54c6ec585f8449772a77afa4 /misc/open2300-mysql
parent58f0db73ec227ae00ccb7a055069bfcf74c2606b (diff)
downloadpkgsrc-a07a1029ca879043454eb152ec7c0f8055f0b085.tar.gz
- remove hardcoded /usr/pkg in patch, simplify
- honour CPPFLAGS, LDFLAGS, LIBS - needs -lnsl -lsocket on Solaris
Diffstat (limited to 'misc/open2300-mysql')
-rw-r--r--misc/open2300-mysql/Makefile6
1 files changed, 5 insertions, 1 deletions
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"