diff options
author | gahr <gahr@FreeBSD.org> | 2013-03-18 19:04:01 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2013-03-18 19:04:01 +0800 |
commit | cc22f51da29164591212153fbe1c2d2ffdef96e7 (patch) | |
tree | 3b10728d6e9f10754af1a4d959b5fe660f6cefbb /audio/sbagen/Makefile | |
parent | 06f1ee128008d2726ac28b8328163d51fbccabab (diff) | |
download | freebsd-ports-gnome-cc22f51da29164591212153fbe1c2d2ffdef96e7.tar.gz freebsd-ports-gnome-cc22f51da29164591212153fbe1c2d2ffdef96e7.tar.zst freebsd-ports-gnome-cc22f51da29164591212153fbe1c2d2ffdef96e7.zip |
- Fix build with clang
- While at it, get rid of PTHREAD_LIBS
Diffstat (limited to 'audio/sbagen/Makefile')
-rw-r--r-- | audio/sbagen/Makefile | 6 |
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: |