aboutsummaryrefslogtreecommitdiff
path: root/audio/portaudio/Makefile
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2003-12-07 14:56:17 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2003-12-07 14:56:17 +0000
commit95494c74460e9746e8124e16098ce4b82b615516 (patch)
treebd3c37e9e52577e70b01957f0d71cfc220b3f7ea /audio/portaudio/Makefile
parent450e5450b4d66220afbbdeae25608126d3277888 (diff)
downloadports-95494c74460e9746e8124e16098ce4b82b615516.tar.gz
ports-95494c74460e9746e8124e16098ce4b82b615516.zip
Notes
Diffstat (limited to 'audio/portaudio/Makefile')
-rw-r--r--audio/portaudio/Makefile6
1 files changed, 5 insertions, 1 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>