- Fix build on clang. [1]
- Respect PREFIX and CFLAGS. PR: ports/158546 [1] Submitted by: Niclas Zeising <niclas.zeising@gmail.com> [1]
This commit is contained in:
parent
05bbaae201
commit
226783f711
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=278344
1 changed files with 12 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue