pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/php4-mysql Split into Makefile and Makefile....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/88307167c6ff
branches:  trunk
changeset: 461995:88307167c6ff
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Sep 25 06:22:11 2003 +0000

description:
Split into Makefile and Makefile.common for simpler php4-mysql4 package.
Closes PR 22936 by Michal Pasternak.

diffstat:

 databases/php4-mysql/Makefile        |  13 ++-----------
 databases/php4-mysql/Makefile.common |  13 +++++++++++++
 2 files changed, 15 insertions(+), 11 deletions(-)

diffs (40 lines):

diff -r d523d92693dc -r 88307167c6ff databases/php4-mysql/Makefile
--- a/databases/php4-mysql/Makefile     Thu Sep 25 06:17:22 2003 +0000
+++ b/databases/php4-mysql/Makefile     Thu Sep 25 06:22:11 2003 +0000
@@ -1,17 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2003/03/14 19:37:35 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2003/09/25 06:22:11 wiz Exp $
 
 MODNAME=               mysql
-CATEGORIES+=           databases
-PKGREVISION=           # empty
-COMMENT=               PHP4 extension for MySQL databases
 
+.include "../../databases/php4-mysql/Makefile.common"
 .include "../../www/php4/Makefile.module"
-
-USE_BUILDLINK2=                # defined
-
-EVAL_PREFIX+=          MYSQLDIR=mysql-client
-CONFIGURE_ARGS+=       --with-${MODNAME}=shared,${MYSQLDIR}
-LDFLAGS+=              -Wl,${RPATH_FLAG}${LOCALBASE}/lib/mysql
-
 .include "../../databases/mysql-client/buildlink2.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r d523d92693dc -r 88307167c6ff databases/php4-mysql/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php4-mysql/Makefile.common      Thu Sep 25 06:22:11 2003 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile.common,v 1.1 2003/09/25 06:22:11 wiz Exp $
+
+PKGMODNAME=             mysql
+CATEGORIES+=            databases
+PKGREVISION?=           # empty
+
+COMMENT?=               PHP4 extension for MySQL databases
+
+USE_BUILDLINK2?=        # defined
+
+EVAL_PREFIX+=           MYSQLDIR=mysql-client
+CONFIGURE_ARGS+=        --with-${MODNAME}=shared,${MYSQLDIR}
+LDFLAGS+=               -Wl,${RPATH_FLAG}${LOCALBASE}/lib/mysql



Home | Main Index | Thread Index | Old Index