pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/ap-jk ap-* should be using apache1 not apache2. Sp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4dd90fb3bc9f
branches:  trunk
changeset: 516537:4dd90fb3bc9f
user:      abs <abs%pkgsrc.org@localhost>
date:      Sat Jul 22 19:41:34 2006 +0000

description:
ap-* should be using apache1 not apache2. Split out most of the Makefile
into Makefile.common to be used by upcoming ap2-jk package. Bump package
revision

diffstat:

 www/ap-jk/Makefile        |  45 +++++++--------------------------------------
 www/ap-jk/Makefile.common |  42 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+), 38 deletions(-)

diffs (100 lines):

diff -r 3f921ebebe22 -r 4dd90fb3bc9f www/ap-jk/Makefile
--- a/www/ap-jk/Makefile        Sat Jul 22 19:27:41 2006 +0000
+++ b/www/ap-jk/Makefile        Sat Jul 22 19:41:34 2006 +0000
@@ -1,43 +1,12 @@
-# $NetBSD: Makefile,v 1.37 2006/06/08 12:15:12 joerg Exp $
+# $NetBSD: Makefile,v 1.38 2006/07/22 19:41:34 abs Exp $
 
 DISTNAME=      jakarta-tomcat-connectors-${JK_VERSION}-src
-PKGNAME=       ap13-jk-${JK_VERSION}
-JK_VERSION=    1.2.15
-CATEGORIES=    www java
-MASTER_SITES=  http://www.apache.org/dist/jakarta/tomcat-connectors/jk/source/jk-${JK_VERSION}/
-
-MAINTAINER=    erh%NetBSD.org@localhost
-HOMEPAGE=      http://jakarta.apache.org/tomcat/connectors-doc/
-COMMENT=       Apache connector for accessing Jakarta Tomcat
-
-CONFLICTS=     ap-jk-[0-9]*
-
-WRKSRC=                ${WRKDIR}/${DISTNAME}/jk/native
-APACHE_MODULE= YES
-BUILD_DEFS+=   JK_ENABLE_JNI
-
-GNU_CONFIGURE= yes
-USE_LIBTOOL=   yes
-USE_TOOLS+=    gmake
+PKGNAME=       ap-jk-${JK_VERSION}
+PKGREVISION=   1
 
-SUBST_CLASSES+=                jk-lt
-SUBST_STAGE.jk-lt=     post-configure
-SUBST_FILES.jk-lt=     Makefile common/Makefile apache-2.0/Makefile
-SUBST_SED.jk-lt=       -e "s|^\(LIBTOOL =\) [^ ]*$$|\1 \$$(SHELL) \$$(top_builddir)/libtool|g"
-SUBST_MESSAGE.jk-lt=   Fixing libtool references.
-
-# XXX The standard --with-apxs2 when using apache2 doesn't work
-CONFIGURE_ARGS+=       --with-apxs=${APXS:Q}
+MAKE_PARAMS+=          USE_APXS=1
+MAKE_PARAMS+=          WITH_APXS=${APXS}
 
-.if defined(JK_ENABLE_JNI)
-USE_JAVA=      yes
-CONFIGURE_ARGS+=       --enable-jni
-CONFIGURE_ARGS+=       --with-java-home=${JAVA_HOME:Q}
-SUBST_FILES.jk-lt+=    jni/Makefile
-.endif
-
-.include "../../mk/apache.mk"
-.if defined(JK_ENABLE_JNI)
-.include "../../mk/java-vm.mk"
-.endif
+.include "../../www/ap-jk/Makefile.common"
+.include "../../www/apache/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 3f921ebebe22 -r 4dd90fb3bc9f www/ap-jk/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap-jk/Makefile.common Sat Jul 22 19:41:34 2006 +0000
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile.common,v 1.1 2006/07/22 19:41:34 abs Exp $
+
+JK_VERSION=    1.2.15
+CATEGORIES=    www java
+MASTER_SITES=  http://www.apache.org/dist/jakarta/tomcat-connectors/jk/source/jk-${JK_VERSION}/
+
+MAINTAINER=    erh%NetBSD.org@localhost
+HOMEPAGE=      http://jakarta.apache.org/tomcat/connectors-doc/
+COMMENT=       Apache connector for accessing Jakarta Tomcat
+
+CONFLICTS=     ap-jk-[0-9]*
+
+PATCHDIR=       ${.CURDIR}/../../www/ap-jk/patches
+DISTINFO_FILE=  ${.CURDIR}/../../www/ap-jk/distinfo
+
+WRKSRC=                ${WRKDIR}/${DISTNAME}/jk/native
+APACHE_MODULE= YES
+BUILD_DEFS+=   JK_ENABLE_JNI
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+USE_TOOLS+=    gmake
+
+SUBST_CLASSES+=                jk-lt
+SUBST_STAGE.jk-lt=     post-configure
+SUBST_FILES.jk-lt=     Makefile common/Makefile apache-2.0/Makefile
+SUBST_SED.jk-lt=       -e "s|^\(LIBTOOL =\) [^ ]*$$|\1 \$$(SHELL) \$$(top_builddir)/libtool|g"
+SUBST_MESSAGE.jk-lt=   Fixing libtool references.
+
+# XXX The standard --with-apxs2 when using apache2 doesn't work
+CONFIGURE_ARGS+=       --with-apxs=${APXS:Q}
+
+.if defined(JK_ENABLE_JNI)
+USE_JAVA=      yes
+CONFIGURE_ARGS+=       --enable-jni
+CONFIGURE_ARGS+=       --with-java-home=${JAVA_HOME:Q}
+SUBST_FILES.jk-lt+=    jni/Makefile
+.endif
+
+.if defined(JK_ENABLE_JNI)
+.include "../../mk/java-vm.mk"
+.endif



Home | Main Index | Thread Index | Old Index