From 975ecffcd59e5abc6b008165ff3663910d6e38e0 Mon Sep 17 00:00:00 2001 From: Michael Nottebrock 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(+) 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 v1.2.3