aboutsummaryrefslogtreecommitdiffstats
path: root/audio/sbagen/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sbagen/Makefile')
-rw-r--r--audio/sbagen/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/audio/sbagen/Makefile b/audio/sbagen/Makefile
index a6fd02e65e92..bfbc9e5c1bce 100644
--- a/audio/sbagen/Makefile
+++ b/audio/sbagen/Makefile
@@ -19,12 +19,8 @@ OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
-post-patch:
- @${REINPLACE_CMD} -e 's,linux/soundcard\.h,sys/soundcard.h,g' \
- ${WRKSRC}/sbagen.c
-
do-build:
- (cd ${WRKSRC} && ${CC} ${CFLAGS} -DT_LINUX ${PTHREAD_LIBS} -lm \
+ (cd ${WRKSRC} && ${CC} ${CFLAGS} -DT_LINUX -pthread -lm \
sbagen.c -o sbagen)
do-install: