summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorBernard Spil <brnrd@FreeBSD.org>2021-02-19 11:49:35 +0000
committerBernard Spil <brnrd@FreeBSD.org>2021-02-19 11:49:35 +0000
commitdbeee73767d4d50fabf9ec9d1a3f55eb01c64399 (patch)
treeb69826119060abc43f53d6c81a3a359ee60f1fd8 /www
parentUnbreak fetch from git.sr.ht (diff)
www/apache24: Change strip behavior
* Use the dists build/rules.mk method * cleanup of left-over files from strip PR: 252792 Submitted by: meta Approved by: joneum (apache) Differential Revision: https://reviews.freebsd.org/D28217
Notes
Notes: svn path=/head/; revision=566051
Diffstat (limited to 'www')
-rw-r--r--www/apache24/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/www/apache24/Makefile b/www/apache24/Makefile
index 9c477123639b..2195acc14e68 100644
--- a/www/apache24/Makefile
+++ b/www/apache24/Makefile
@@ -2,7 +2,7 @@
PORTNAME= apache24
PORTVERSION= 2.4.46
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= APACHE_HTTPD
DISTNAME= httpd-${PORTVERSION}
@@ -173,6 +173,7 @@ CFLAGS= ${DEBUG_FLAGS}
CONFIGURE_ARGS+= --enable-maintainer-mode
WITH_EXCEPTION_HOOK= yes
.else
+CONFIGURE_ENV+= INSTALL_PROG_FLAGS="-s"
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-server_buildmark.c
.endif
.if defined(WITH_EXCEPTION_HOOK)
@@ -220,12 +221,10 @@ post-configure:
post-install:
@${MKDIR} ${ETC_SUBDIRS:S|^|${STAGEDIR}${ETCDIR}/|}
${INSTALL_DATA} ${FILESDIR}/no-accf.conf ${STAGEDIR}${ETCDIR}/Includes/
-# place for 3rd party module configuration
${INSTALL_DATA} ${FILESDIR}/README_modules.d ${STAGEDIR}${ETCDIR}/modules.d/
-# strip returns an error for non binary files, but we have a big mix
- -${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/* 2>/dev/null
- -${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
-${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/apache24/mod_*.so
+ # Remove files left behind by strip
+ ${RM} ${STAGEDIR}${DATADIR}/build/ecp.???????? 2>/dev/null
post-install-LOG_FORENSIC-on:
${INSTALL_SCRIPT} ${WRKSRC}/support/check_forensic ${STAGEDIR}${PREFIX}/sbin