diff options
author | itetcu <itetcu@FreeBSD.org> | 2006-07-07 03:11:21 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2006-07-07 03:11:21 +0800 |
commit | 57d25ab6039f002f9c29bf2b5d74177e97672120 (patch) | |
tree | 6b2e112a5439bb5e1555b56a59f51845ad7e323c /www | |
parent | 926b5fda79cdcbda5dd3384275d816db6e3a273e (diff) | |
download | freebsd-ports-gnome-57d25ab6039f002f9c29bf2b5d74177e97672120.tar.gz freebsd-ports-gnome-57d25ab6039f002f9c29bf2b5d74177e97672120.tar.zst freebsd-ports-gnome-57d25ab6039f002f9c29bf2b5d74177e97672120.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
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_musicindex/Makefile | 3 |
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: |