FreeBSD Bugzilla – Attachment 9220 Details for
Bug 18960
Add USE_APACHE to bsd.port.mk for Apache module ports
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.94 KB, created by
Scot W. Hetzel
on 2000-06-02 02:50:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Scot W. Hetzel
Created:
2000-06-02 02:50:00 UTC
Size:
1.94 KB
patch
obsolete
>--- bsd.port.mk.orig Sat May 6 20:09:14 2000 >+++ bsd.port.mk Thu Jun 1 20:35:53 2000 >@@ -118,6 +118,15 @@ > # > # Use these if your port uses some of the common software packages. > # >+# USE_APACHE - Says that the port uses Apache for building and running. >+# AP_PORT - Set to the name of the apache port (default: apache13) >+# AP_TARGET - Set to the name of the apache server (default: httpd) >+# AP_SBINDIR - Set to the location of the apache sbin directory >+# AP_INCLUDE - Set to the location of the apache include directory >+# AP_LIBEXEC - Set to the location of the apache libexec directory >+# AP_SYSCONF - Set to the location of the apache config directory >+# AP_PREFIX - Set to the apache prefix (default: ${PREFIX}) >+# > # USE_BZIP2 - Says that the port tarballs use bzip2, not gzip, for > # compression. > # USE_ZIP - Says that the port distfile uses zip, not tar w/[bg]zip >@@ -698,6 +707,40 @@ > .if defined(USE_QT2) > LIB_DEPENDS+= qt2.3:${PORTSDIR}/x11-toolkits/qt21 > USE_NEWGCC= yes >+.endif >+ >+.if defined(USE_APACHE) >+APXS= ${PREFIX}/sbin/apxs >+ >+.if exists(${APXS}) >+AP_PORT!= if ${APXS} -q AP_PORT > /dev/null 2>&1 ; then \ >+ ${APXS} -q AP_PORT ; \ >+ else \ >+ echo "apache13" ; \ >+ fi >+AP_TARGET!= ${APXS} -q TARGET >+AP_SBINDIR!= ${APXS} -q SBINDIR >+AP_INCLUDE!= ${APXS} -q INCLUDEDIR >+AP_LIBEXEC!= ${APXS} -q LIBEXECDIR >+AP_SYSCONF!= ${APXS} -q SYSCONFDIR >+AP_PREFIX!= ${APXS} -q PREFIX >+.else >+AP_PORT?= apache13 >+AP_TARGET?= httpd >+AP_SBINDIR?= ${PREFIX}/sbin >+AP_INCLUDE?= ${PREFIX}/include/apache >+AP_LIBEXEC?= ${PREFIX}/libexec/apache >+AP_SYSCONF?= ${PREFIX}/etc/apache >+AP_PREFIX?= ${PREFIX} >+.endif >+ >+BUILD_DEPENDS+= ${APXS}:${PORTSDIR}/www/${AP_PORT} >+RUN_DEPENDS+= ${PREFIX}/sbin/${AP_TARGET}:${PORTSDIR}/www/${AP_PORT} >+ >+PLIST_SUB+= AP_SBINDIR=${AP_SBINDIR:S/^${PREFIX}\///} \ >+ AP_INCLUDE=${AP_INCLUDE:S/^${PREFIX}\///} \ >+ AP_LIBEXEC=${AP_LIBEXEC:S/^${PREFIX}\///} \ >+ AP_SYSCONF=${AP_SYSCONF:S/^${PREFIX}\///} > .endif > > .if defined(USE_BZIP2)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 18960
: 9220