diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2004-03-14 05:12:46 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2004-03-14 05:12:46 +0000 |
commit | 14a6b7d68e37293195a388542a6c6a7113cd5b29 (patch) | |
tree | 1c4a17fc635f3b4b45615a9f2ffed29fb084b893 /www | |
parent | o Fix "make deinstall reinstall": "unfix" some header files inside (diff) |
Fix build on amd64 (shared library objects must be compiled with -fPIC)
Notes
Notes:
svn path=/head/; revision=103960
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_mp3/files/patch-configure | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/www/mod_mp3/files/patch-configure b/www/mod_mp3/files/patch-configure new file mode 100644 index 000000000000..2920958fd4b4 --- /dev/null +++ b/www/mod_mp3/files/patch-configure @@ -0,0 +1,24 @@ +--- configure.orig Sat Mar 13 21:11:43 2004 ++++ configure Sat Mar 13 21:11:46 2004 +@@ -461,10 +461,10 @@ + + + for (@SRC) { +- $compile .= qq|\nsrc/$_.o : src/$_.c\n|; +- $compile .= qq|\t\$(CC) \$(INC) -c src/$_.c \$(DEF) -o src/$_.o \n|; ++ $compile .= qq|\nsrc/$_.lo : src/$_.c\n|; ++ $compile .= qq|\t\$(CC) \$(CFLAGS_SHLIB) \$(INC) -c src/$_.c \$(DEF) -o src/$_.lo \n|; + $src .=" $_.c"; +- $obj .=" src/$_.o"; ++ $obj .=" src/$_.lo"; + } + + $data =~ s|%APXS%|$apxs|sg; +@@ -514,6 +514,7 @@ + AINCLUDEDIR=-I`$(APXS) -q INCLUDEDIR` `$(APXS) -q CFLAGS` + ACFLAGS=-I`$(APXS) -q INCLUDEDIR` + LD_SHLIB=`$(APXS) -q LDFLAGS_SHLIB` ++CFLAGS_SHLIB=`$(APXS) -q CFLAGS_SHLIB` + CC=`$(APXS) -q CC` + LD=`$(APXS) -q LD_SHLIB` + CONFDIR=`$(APXS) -q SYSCONFDIR` |