aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/osalp/Makefile8
-rw-r--r--audio/tclmidi/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/audio/osalp/Makefile b/audio/osalp/Makefile
index 48af51c54d8a..12ebc107ef4f 100644
--- a/audio/osalp/Makefile
+++ b/audio/osalp/Makefile
@@ -27,8 +27,14 @@ INSTALLS_SHLIB= yes
PLIST_SUB= VERSION=${PORTVERSION}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500035
+BROKEN= "Does not compile on 5.0"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local/lib/aflib|${PREFIX}/lib/aflib|g' \
${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/audio/tclmidi/Makefile b/audio/tclmidi/Makefile
index 5456f530f725..c2de983b8eba 100644
--- a/audio/tclmidi/Makefile
+++ b/audio/tclmidi/Makefile
@@ -27,7 +27,13 @@ MANN= midiconf.n midievnt.n midifree.n midiget.n midigrep.n \
midiwrit.n midivers.n midimove.n midicopy.n mididel.n \
miditrck.n mididev.n miditime.n midifeat.n
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500035
+BROKEN= "Does not compile on 5.0"
+.endif
+
post-install:
@${CAT} ${PKGMESSAGE} | ${SED} s#/usr/local#${PREFIX}#g
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>