diff options
author | shaun <shaun@FreeBSD.org> | 2011-07-26 10:53:57 +0800 |
---|---|---|
committer | shaun <shaun@FreeBSD.org> | 2011-07-26 10:53:57 +0800 |
commit | 386991384e7baf28e5a7da66069917e7422ab2d4 (patch) | |
tree | 0a742f11a5670a9fd78fb40c4f7510ea19c13d20 /audio | |
parent | 9875e01f44cb91244ed77fd6184952ab53303ae3 (diff) | |
download | freebsd-ports-gnome-386991384e7baf28e5a7da66069917e7422ab2d4.tar.gz freebsd-ports-gnome-386991384e7baf28e5a7da66069917e7422ab2d4.tar.zst freebsd-ports-gnome-386991384e7baf28e5a7da66069917e7422ab2d4.zip |
- Fix build on clang. [1]
- Respect PREFIX and CFLAGS.
PR: ports/158546 [1]
Submitted by: Niclas Zeising <niclas.zeising@gmail.com> [1]
Diffstat (limited to 'audio')
-rw-r--r-- | audio/cdplay/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/audio/cdplay/Makefile b/audio/cdplay/Makefile index 424ffb26697f..c2746643987a 100644 --- a/audio/cdplay/Makefile +++ b/audio/cdplay/Makefile @@ -15,12 +15,23 @@ MASTER_SITE_SUBDIR= dannyboy MAINTAINER= ports@FreeBSD.org COMMENT= CD-player with text-based user interface -MAKE_ARGS= CFLAGS="${CFLAGS} -c -ansi" +MAKE_ARGS= CFLAGS="${CFLAGS} -c -ansi" \ + BINPATH="${PREFIX}/bin/" \ + MANPATH="${MANPREFIX}/man/man1/" MAKE_JOBS_UNSAFE= yes MAN1= cdplay.1 PLIST_FILES= bin/cdplay +post-patch: + ${REINPLACE_CMD} \ + -e 's/^CC=/CC?=/' \ + -e 's/^OPTIMISE=.*$$/OPTIMISE=/'\ + -e 's/^CFLAGS=/CFLAGS+=/' \ + -e 's/^BINPATH=/BINPATH?=/' \ + -e 's/^MANPATH=/MANPATH?=/' \ + ${WRKSRC}/Makefile + pre-patch: @${GUNZIP_CMD} ${WRKSRC}/cdplay.1.gz |