diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-03-31 03:45:43 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-03-31 03:45:43 +0000 |
commit | 1da677f923a39ab3d38ddf760b383c323436a0b9 (patch) | |
tree | 2ba9e346d9da7ab095588f93b7f6acb075c35ffb | |
parent | Update to version 3.0.2. (diff) |
Remove #include <malloc.h>
Reorder do-build target in temporal order
Notes
Notes:
svn path=/head/; revision=57014
-rw-r--r-- | audio/sbagen/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/audio/sbagen/Makefile b/audio/sbagen/Makefile index d80907cd319e..04d67c1d7168 100644 --- a/audio/sbagen/Makefile +++ b/audio/sbagen/Makefile @@ -24,14 +24,18 @@ SHAREFILES= t-alpha t-beta t-calm t-calm2 t-delta t-focus t-focus-1 \ DOCFILES= sbagen.txt theory.txt theory2.txt -do-build: - (cd ${WRKSRC} && ${CC} ${CFLAGS} sbagen.c -o sbagen -lm) +pre-patch: + @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \ + ${WRKSRC}/sbagen.c post-patch: .for F in ${SHAREFILES} @${PERL} -pi -e 's,/bin/bash,/bin/sh,g' ${WRKSRC}/$F .endfor +do-build: + (cd ${WRKSRC} && ${CC} ${CFLAGS} sbagen.c -o sbagen -lm) + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sbagen ${PREFIX}/bin ${MKDIR} ${PREFIX}/share/sbagen |