summaryrefslogtreecommitdiff
path: root/www/php3-mysql
diff options
context:
space:
mode:
authorrh <rh>2000-05-25 08:15:28 +0000
committerrh <rh>2000-05-25 08:15:28 +0000
commit0c16aeaabcf952054294b7d52135711f5a063361 (patch)
treec62a89e4dea21959897bafeccfe7a5366aef38c3 /www/php3-mysql
parent1cdbd25bb51e913c3243ba5dff0e6069e3bd2120 (diff)
downloadpkgsrc-0c16aeaabcf952054294b7d52135711f5a063361.tar.gz
Link with math library to avoid missing symbol lossage. Fixes PR 10012 by
Andrew Gillham.
Diffstat (limited to 'www/php3-mysql')
-rw-r--r--www/php3-mysql/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/php3-mysql/Makefile b/www/php3-mysql/Makefile
index 553b0e3080b..bf5859319a8 100644
--- a/www/php3-mysql/Makefile
+++ b/www/php3-mysql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2000/02/15 05:54:20 bad Exp $
+# $NetBSD: Makefile,v 1.6 2000/05/25 08:15:28 rh Exp $
#
PKGNAME= php-mysql-${PHP_VERSION}
@@ -12,7 +12,7 @@ BUILDING_EXTENSION_MODULE=yes
do-build:
cd ${WRKSRC}/functions && \
${COMPILE.c} -I.. -I. -I${LOCALBASE}/include/mysql -fPIC -DPIC -DCOMPILE_DL mysql.c && \
- ld -Bshareable -o mysql.so mysql.o -L${LOCALBASE}/lib/mysql -R${LOCALBASE}/lib/mysql -lmysqlclient
+ ld -Bshareable -o mysql.so mysql.o -L${LOCALBASE}/lib/mysql -R${LOCALBASE}/lib/mysql -lmysqlclient -lm
do-install:
${INSTALL_DATA} ${WRKSRC}/functions/mysql.so ${PREFIX}/lib/php3/