From ab01801e0f89b562c905ca8f998e64df7a0e0e2d Mon Sep 17 00:00:00 2001 From: lofi Date: Tue, 10 Feb 2004 17:53:49 +0000 Subject: Fix on amd64. Submitted by: arved --- audio/portaudio/Makefile | 4 ++++ audio/portaudio2/Makefile | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'audio') 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} -- cgit