Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2018 15:04:37 +0000 (UTC)
From:      Bernard Spil <brnrd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r465978 - head/www/apache24
Message-ID:  <201803301504.w2UF4b3V070869@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brnrd
Date: Fri Mar 30 15:04:37 2018
New Revision: 465978
URL: https://svnweb.freebsd.org/changeset/ports/465978

Log:
  www/apache24: Fix ssl linking issues
  
   - Remove -L/usr/lib from LDFLAGS [1]
   - Remove non-working show-modules target
   - Use new style patch filenames
  
  PR:		227108 [1]
  With hat:	apache
  Submitted by:	mat [1]
  Reported by:	eugen [1]
  MFH:		2018Q1

Modified:
  head/www/apache24/Makefile

Modified: head/www/apache24/Makefile
==============================================================================
--- head/www/apache24/Makefile	Fri Mar 30 14:48:59 2018	(r465977)
+++ head/www/apache24/Makefile	Fri Mar 30 15:04:37 2018	(r465978)
@@ -30,10 +30,6 @@ CPE_PRODUCT=	http_server
 PORTDOCS=	*
 SUB_FILES=	pkg-install pkg-deinstall
 
-# XXX: before running makepatch please run the command
-# `$SED -e 's/PATCH_PATH_SEPARATOR=/PATCH_PATH_SEPARATOR?=/' Mk/bsd.port.mk
-PATCH_PATH_SEPARATOR=	__
-
 # Fallback MPM after switching from static to modular MPM
 SUB_LIST+=	MPMF="000_mpm_prefork_fallback.conf"
 
@@ -194,10 +190,8 @@ SUB_FILES+=		pkg-message
 .endif
 
 pre-extract-SUEXEC-on:
-	@${ECHO_CMD} ""
-	@${ECHO_CMD} "suexec builds with user '${USERS}' and docroot '${PREFIX}/www' by default,"
-	@${ECHO_CMD} "use SUEXEC_DOCROOT and SUEXEC_USERDIR in /etc/make.conf to adjust."
-	@${ECHO_CMD} ""
+	@${ECHO_CMD} -e "\nsuexec builds with user '${USERS}' and docroot '${PREFIX}/www' by default,"
+	@${ECHO_CMD} -e "use SUEXEC_DOCROOT and SUEXEC_USERDIR in /etc/make.conf to adjust.\n"
 
 post-extract:
 # make sure the configure script contains our patches, preserve the original script for comparsion
@@ -219,9 +213,6 @@ post-patch:
 	${INSTALL_DATA} ${WRKSRC}/NOTICE ${WRKSRC}/docs/manual
 
 pre-configure::
-	@${ECHO_MSG}	""
-	@${ECHO_MSG}	"  You can check your modules configuration by using make show-modules"
-	@${ECHO_MSG}	""
 # silence autotools
 	-@${MV} -v ${WRKSRC}/configure.in ${WRKSRC}/configure.ac 2>/dev/null
 
@@ -229,6 +220,7 @@ post-configure:
 	@FTPUSERS=`${EGREP} -v '^#' /etc/ftpusers| ${TR} -s "\n" " "` ;\
 		${REINPLACE_CMD} -e "s,%%FTPUSERS%%,$${FTPUSERS}," \
 			${WRKSRC}/docs/conf/extra/httpd-userdir.conf
+	${REINPLACE_CMD} -e "/EXTRA_LDFLAGS/s|-L/usr/lib||g" ${WRKSRC}/build/config_vars.mk
 	${REINPLACE_CMD} -e "s,%%WWWOWN%%,${WWWOWN}," -e "s,%%WWWGRP%%,${WWWGRP}," \
 		${WRKSRC}/docs/conf/httpd.conf
 	${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/support/envvars-std



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803301504.w2UF4b3V070869>