summaryrefslogtreecommitdiff
path: root/misc/open2300-mysql
diff options
context:
space:
mode:
authorgrant <grant>2005-07-31 14:03:28 +0000
committergrant <grant>2005-07-31 14:03:28 +0000
commit8e23c5107c2d1400ce075c5f99a4bf7879f40f6e (patch)
treea1d419b8d39ea74e54c6ec585f8449772a77afa4 /misc/open2300-mysql
parentb0c14b3d0cd7fd47e705bdaf7d039bae31f17606 (diff)
downloadpkgsrc-8e23c5107c2d1400ce075c5f99a4bf7879f40f6e.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"