aboutsummaryrefslogtreecommitdiff
path: root/www/mod_musicindex
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-06 19:11:21 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-06 19:11:21 +0000
commitc58d4c6679cd674e2e7fa56af10fe7c116111225 (patch)
tree81890d616c3357a325d895ddd66729361fae5be3 /www/mod_musicindex
parent67715380407e27256a6c7c27b321d8e3225f6695 (diff)
downloadports-c58d4c6679cd674e2e7fa56af10fe7c116111225.tar.gz
ports-c58d4c6679cd674e2e7fa56af10fe7c116111225.zip
Add -fPIC to CFLAGS on amd64 if using apache2 to fix build in this case.
PR: ports/98229 Submitted by: Yuri Pankov <yuri.pankov@gmail.com> Approved by: maintainer
Notes
Notes: svn path=/head/; revision=167085
Diffstat (limited to 'www/mod_musicindex')
-rw-r--r--www/mod_musicindex/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/mod_musicindex/Makefile b/www/mod_musicindex/Makefile
index 31b104b62264..f18d71cabcc8 100644
--- a/www/mod_musicindex/Makefile
+++ b/www/mod_musicindex/Makefile
@@ -37,6 +37,9 @@ MAKE_ENV+= APXS=${APXS} CPPFLAGS="${CPPFLAGS}" LDFLAGS="-L${LOCALBASE}/lib"
.if "${AP_VER}"=="2"
MAKE_ENV+= APACHE_VERSION=2 APRCONFIG=${LOCALBASE}/lib/apache2/apr-config
+.if "ARCH" = "amd64"
+CFLAGS+= -fPIC
+.endif
.endif
post-install: