diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/portaudio/Makefile | 6 | ||||
-rw-r--r-- | audio/portaudio2/Makefile | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/audio/portaudio/Makefile b/audio/portaudio/Makefile index 21a4e82fab3d..0d746a803c7c 100644 --- a/audio/portaudio/Makefile +++ b/audio/portaudio/Makefile @@ -21,6 +21,8 @@ GNU_CONFIGURE= yes INSTALLS_SHLIB= yes NO_FILTER_SHLIBS=yes +SHLIB_VERSION= 0 + pre-everything:: .if !defined(WITH_PATESTS) @${ECHO_MSG} @@ -50,9 +52,11 @@ post-configure: @${REINPLACE_CMD} -e 's|tests$$||' ${WRKSRC}/Makefile .endif -.if defined(WITH_PATESTS) post-install: +.if defined(WITH_PATESTS) @${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${PREFIX}/bin .endif + @${LN} -sf libportaudio.so \ + ${PREFIX}/lib/libportaudio.so.${SHLIB_VERSION} .include <bsd.port.mk> diff --git a/audio/portaudio2/Makefile b/audio/portaudio2/Makefile index 21a4e82fab3d..0d746a803c7c 100644 --- a/audio/portaudio2/Makefile +++ b/audio/portaudio2/Makefile @@ -21,6 +21,8 @@ GNU_CONFIGURE= yes INSTALLS_SHLIB= yes NO_FILTER_SHLIBS=yes +SHLIB_VERSION= 0 + pre-everything:: .if !defined(WITH_PATESTS) @${ECHO_MSG} @@ -50,9 +52,11 @@ post-configure: @${REINPLACE_CMD} -e 's|tests$$||' ${WRKSRC}/Makefile .endif -.if defined(WITH_PATESTS) post-install: +.if defined(WITH_PATESTS) @${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${PREFIX}/bin .endif + @${LN} -sf libportaudio.so \ + ${PREFIX}/lib/libportaudio.so.${SHLIB_VERSION} .include <bsd.port.mk> |