diff options
author | lofi <lofi@FreeBSD.org> | 2004-02-11 01:53:49 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2004-02-11 01:53:49 +0800 |
commit | ab01801e0f89b562c905ca8f998e64df7a0e0e2d (patch) | |
tree | b4b0f4f60fa1de26b5e68542d7b1569a5614da72 /audio | |
parent | 7ab21600d2d04476de3958f7d952728af56a23c3 (diff) | |
download | freebsd-ports-gnome-ab01801e0f89b562c905ca8f998e64df7a0e0e2d.tar.gz freebsd-ports-gnome-ab01801e0f89b562c905ca8f998e64df7a0e0e2d.tar.zst freebsd-ports-gnome-ab01801e0f89b562c905ca8f998e64df7a0e0e2d.zip |
Fix on amd64.
Submitted by: arved
Diffstat (limited to 'audio')
-rw-r--r-- | audio/portaudio/Makefile | 4 | ||||
-rw-r--r-- | audio/portaudio2/Makefile | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/audio/portaudio/Makefile b/audio/portaudio/Makefile index 3e0189f4e6b3..8467619ed81c 100644 --- a/audio/portaudio/Makefile +++ b/audio/portaudio/Makefile @@ -25,6 +25,10 @@ NO_FILTER_SHLIBS=yes PLIST_SUB+= SHLIB_VERSION=${SHLIB_VERSION} SHLIB_VERSION= 0 +.if ${MACHINE_ARCH:L} == amd64 +CFLAGS+= -fPIC +.endif + pre-everything:: .if !defined(WITH_PATESTS) @${ECHO_MSG} diff --git a/audio/portaudio2/Makefile b/audio/portaudio2/Makefile index 3e0189f4e6b3..8467619ed81c 100644 --- a/audio/portaudio2/Makefile +++ b/audio/portaudio2/Makefile @@ -25,6 +25,10 @@ NO_FILTER_SHLIBS=yes PLIST_SUB+= SHLIB_VERSION=${SHLIB_VERSION} SHLIB_VERSION= 0 +.if ${MACHINE_ARCH:L} == amd64 +CFLAGS+= -fPIC +.endif + pre-everything:: .if !defined(WITH_PATESTS) @${ECHO_MSG} |