Changeset View
Changeset View
Standalone View
Standalone View
audio/timemachine/Makefile
Show All 17 Lines | |||||
OPTIONS_DEFINE= LASH | OPTIONS_DEFINE= LASH | ||||
USES= gmake pathfix pkgconfig | USES= gmake pathfix pkgconfig | ||||
USE_GNOME= gtk20 | USE_GNOME= gtk20 | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
LDFLAGS+= -lm | LDFLAGS+= -lm | ||||
.include <bsd.port.options.mk> | LASH_LIB_DEPENDS= liblash.so:${PORTSDIR}/audio/lash | ||||
LASH_CONFIGURE_OFF= --disable-lash | |||||
.if ${PORT_OPTIONS:MLASH} | |||||
LIB_DEPENDS+= liblash.so:${PORTSDIR}/audio/lash | |||||
.else | |||||
CONFIGURE_ARGS+=--disable-lash | |||||
.endif | |||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e \ | @${REINPLACE_CMD} -e \ | ||||
'/^PACKAGE_CFLAGS=/s|-g||; \ | '/^PACKAGE_CFLAGS=/s|-g||; \ | ||||
/^PACKAGE_LIBS=/s|-g||' ${WRKSRC}/configure | /^PACKAGE_LIBS=/s|-g||' ${WRKSRC}/configure | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |