Date: Wed, 4 Sep 2002 16:22:17 +0900 From: Norikatsu Shigemura <nork@FreeBSD.org> To: ports@FreeBSD.org Cc: portmgr@FreeBSD.org Subject: AP_PORT? or APACHE_PORT? for depending on apache13 port Message-ID: <200209040722.g847MH04083348@nd250009.gab.xdsl.ne.jp>
next in thread | raw e-mail | index | archive | help
Dear. Almost all ports depending on apache13 are ugly. Because theses are using direct or AP_PORT?=apache13 or AP_PORT?=www/apache13 or APACHE_PORT?=${PORTSDIR}/www/apache13 or APACHE_PORT=apache13 ..., to depend on apache13. I suggest following lines. 1. as possible as using in Makefile USE_APACHE= YES in bsd.port.mk .if defined(USE_APACHE) APACHE?=${LOCALBASE}/sbin/apxs APACHE_PORT?=${PORTSDIR}/www/apache13 BUILD_DEPENDS+=${APACHE}:${APACHE_PORT} RUN_DEPENDS+=${APXS}:${APACHE_PORT} .endif 2. but, specially for (www/horde, etc...) in Makefile AS IS:-) 3. APACHE specified by 1. is may apxs, httpd, httpd.conf, etc... How do you like? $ find /usr/ports -name Makefile | xargs fgrep apache13 (and my filterd(^^;) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - /usr/ports/databases/mysql-editor/Makefile: ${CGI_BIN}:${PORTSDIR}/www/apache13 /usr/ports/ftp/ftplocate/Makefile:BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/mail/ezmlm-web/Makefile:RUN_DEPENDS= ${LOCALBASE}/sbin/apachectl:${PORTSDIR}/www/apache13 \ /usr/ports/mail/mailman/Makefile:RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13 /usr/ports/misc/instant-server/Makefile: ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13 \ /usr/ports/net/xbone/Makefile:BUILD_DEPENDS= ${PREFIX}/sbin/httpsd:${PORTSDIR}/www/apache13-ssl\ /usr/ports/shells/wapsh/Makefile:#RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13 \ /usr/ports/textproc/htdig/Makefile:RUN_DEPENDS= ${LOCALBASE}/share/doc/apache:${PORTSDIR}/www/apache13 /usr/ports/www/apache-contrib/Makefile:BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/apache-contrib/Makefile:RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/apache-contrib/Makefile:AP_PORT?= apache13 /usr/ports/www/apache-jserv/Makefile:BUILD_DEPENDS= ${LOCALBASE}/sbin/apachectl:${PORTSDIR}/www/apache13\ /usr/ports/www/apache-jserv/Makefile: ${LOCALBASE}/sbin/apachectl:${PORTSDIR}/www/apache13\ /usr/ports/www/bk2site/Makefile:RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/abcache/Makefile:RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13 \ /usr/ports/www/horde/Makefile:RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libssl.so:${PORTSDIR}/www/apache13-modssl /usr/ports/www/mnogosearch/Makefile:RUN_DEPENDS+= ${LOCALBASE}/etc/apache/httpd.conf:${PORTSDIR}/www/apache13 /usr/ports/www/mod_access_identd/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_access_identd/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_access_referer/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_access_referer/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_auth_any/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_auth_any/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_auth_external/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_auth_external/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_auth_mysql/Makefile:AP_PORT?= apache13 /usr/ports/www/mod_auth_pam/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_auth_pam/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_auth_pgsql/Makefile:AP_PORT?= apache13 /usr/ports/www/mod_backhand/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_backhand/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_bf/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_bf/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_cgi_debug/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_cgi_debug/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_color/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_color/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_csacek/Makefile:BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_csacek/Makefile:RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_cvs/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_cvs/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_dav/Makefile:BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_dav/Makefile:RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_dtcl/Makefile:BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_extract_forwarded/Makefile:BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_extract_forwarded/Makefile:RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_fastcgi/Makefile:BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_fastcgi/Makefile:RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_frontpage/Makefile:AP_PORT?= apache13 /usr/ports/www/mod_gzip/Makefile:BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_gzip/Makefile:RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_hosts_access/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_hosts_access/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_index_rss/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_index_rss/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_jk/Makefile:APACHE_PORT?= ${PORTSDIR}/www/apache13 /usr/ports/www/mod_layout/Makefile:BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_layout/Makefile:RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_mp3/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_mp3/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_perl/Makefile:APACHE_PORT?= ${PORTSDIR}/www/apache13 /usr/ports/www/mod_php3/Makefile:BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_php3/Makefile:RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_php4/Makefile:BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_php4/Makefile:RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_proxy_add_forward/Makefile:BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_proxy_add_forward/Makefile:RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_put/Makefile:BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_put/Makefile:RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_python/Makefile:BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_python/Makefile:RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_roaming/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_roaming/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_ruby/Makefile:APACHE_PORT?= ${PORTSDIR}/www/apache13 /usr/ports/www/mod_sed/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_sequester/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_sequester/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_snake/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 \ /usr/ports/www/mod_throttle/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_throttle/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_ticket/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_ticket/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_trigger/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_tsunami/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_tsunami/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_watch/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_watch/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_zap/Makefile:BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 \ /usr/ports/www/mod_zap/Makefile:RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 \ /usr/ports/www/php-templates/Makefile:RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13 \ /usr/ports/www/p5-Apache-AuthCookie/Makefile:APACHE_PORT?= apache13 /usr/ports/www/smb2www/Makefile:RUN_DEPENDS= httpd:${PORTSDIR}/www/apache13 \ /usr/ports/www/webglimpse/Makefile:RUN_DEPENDS+= ${LOCALBASE}/etc/apache/httpd.conf:${PORTSDIR}/www/apache13 /usr/ports/www/wwwstat/Makefile:RUN_DEPENDS= ${LOCALBASE}/etc/apache/httpd.conf:${PORTSDIR}/www/apache13 /usr/ports/www/zope/Makefile:#RUN_DEPENDS= ${LOCALBASE}/sbin/apache:${PORTSDIR}/www/apache13-modssl /usr/ports/www/auth_ldap/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/auth_ldap/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_auth_kerb/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13-modssl /usr/ports/www/mod_auth_kerb/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13-modssl /usr/ports/www/neowebscript/Makefile:BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_mylo/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_mylo/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_mysqluserdir/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_mysqluserdir/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_sqlinclude/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_sqlinclude/Makefile:RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 /usr/ports/www/mod_log_mysql/Makefile:AP_PORT?= www/apache13 /usr/ports/www/horde2/Makefile:RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libssl.so:${PORTSDIR}/www/apache13-modssl /usr/ports/www/mod_auth_pwcheck/Makefile:AP_PORT= apache13${AP_MOD_SSL_SUFFIX} /usr/ports/www/dansguardian/Makefile: ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13:install /usr/ports/www/dansguardian-devel/Makefile: ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13:install /usr/ports/www/mod_auth_mysql_another/Makefile:AP_PORT?= apache13 /usr/ports/www/php-dyn/Makefile:RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13 \ /usr/ports/www/php-screw/Makefile:RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13 \ /usr/ports/www/mod_blowchunks/Makefile:BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_blowchunks/Makefile:RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 /usr/ports/www/mod_pcgi2/Makefile:BUILD_DEPENDS= ${LOCALBASE}/include/apache/httpd.h:${PORTSDIR}/www/apache13 /usr/ports/www/mod_pcgi2/Makefile:RUN_DEPENDS= ${LOCALBASE}/include/apache/httpd.h:${PORTSDIR}/www/apache13 /usr/ports/www/mod_scgi/Makefile:BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209040722.g847MH04083348>