Skip to content

Commit f71eab3

Browse files
committed
Rollback /opt to /usr changes in commit b15bf7d
- Apparently macports likes to put includes in /usr/local/include and not /opt/local/include like maybe it should. So we shouldn't change /opt to /usr for the portaudio part of the makefile. This reverts those changes, and (apparently) allows the portaudio portion to compile on 10.11
1 parent 3839ccf commit f71eab3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: Makefile.macosx

+4-4
Original file line numberDiff line numberDiff line change
@@ -142,19 +142,19 @@ endif
142142
# Use PortAudio Library
143143

144144
# Force static linking of portaudio if the static library is available.
145-
PA_LIB_STATIC := $(shell find /usr/local/lib -maxdepth 1 -type f -name "libportaudio.a")
145+
PA_LIB_STATIC := $(shell find /opt/local/lib -maxdepth 1 -type f -name "libportaudio.a")
146146
#$(info $$PA_LIB_STATIC is [${PA_LIB_STATIC}])
147147
ifeq (${PA_LIB_STATIC},)
148-
LDLIBS += -L/usr/local/lib -lportaudio
148+
LDLIBS += -L/opt/local/lib -lportaudio
149149
else
150-
LDLIBS += /usr/local/lib/libportaudio.a
150+
LDLIBS += /opt/local/lib/libportaudio.a
151151
endif
152152

153153
# Include libraries portaudio requires.
154154
LDLIBS += -framework CoreAudio -framework AudioUnit -framework AudioToolbox
155155
LDLIBS += -framework Foundation -framework CoreServices
156156

157-
CFLAGS += -DUSE_PORTAUDIO -I/usr/local/include
157+
CFLAGS += -DUSE_PORTAUDIO -I/opt/local/include
158158

159159
# Uncomment following lines to enable GPS interface & tracker function.
160160
# Not available for MacOSX.

0 commit comments

Comments
 (0)