View | Details | Raw Unified | Return to bug 187769 | Differences between
and this patch

Collapse All | Expand All

(-)audio/amp/Makefile (-5 / +11 lines)
Lines 10-23 Link Here
10
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	ports@FreeBSD.org
11
COMMENT=	Another mp3 player
11
COMMENT=	Another mp3 player
12
12
13
GNU_CONFIGURE=	yes
14
USES=		gmake
13
USES=		gmake
14
GNU_CONFIGURE=	yes
15
CONFIGURE_ENV=	ac_cv_prog_gcc=no
16
17
PLIST_FILES=	bin/amp man/man1/amp.1.gz
15
18
16
PLIST_FILES=	bin/amp \
19
post-patch:
17
		man/man1/amp.1.gz
20
	@${REINPLACE_CMD} -e \
21
		'/CC="gcc"/s|^|#| ; \
22
		 /CFLAGS=$$/s|^|#| ; \
23
		 s|-O6|$$CFLAGS|' ${WRKSRC}/configure
18
24
19
do-install:
25
do-install:
20
	${INSTALL_PROGRAM} ${WRKSRC}/amp ${STAGEDIR}${PREFIX}/bin
26
	(cd ${WRKSRC} && ${INSTALL_PROGRAM} amp ${STAGEDIR}${PREFIX}/bin)
21
	${INSTALL_MAN} ${WRKSRC}/amp.1 ${STAGEDIR}${PREFIX}/man/man1
27
	(cd ${WRKSRC} && ${INSTALL_MAN} amp.1 ${STAGEDIR}${PREFIX}/man/man1)
22
28
23
.include <bsd.port.mk>
29
.include <bsd.port.mk>

Return to bug 187769