From 57d25ab6039f002f9c29bf2b5d74177e97672120 Mon Sep 17 00:00:00 2001 From: itetcu Date: Thu, 6 Jul 2006 19:11:21 +0000 Subject: Add -fPIC to CFLAGS on amd64 if using apache2 to fix build in this case. PR: ports/98229 Submitted by: Yuri Pankov Approved by: maintainer --- www/mod_musicindex/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'www/mod_musicindex') 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: -- cgit