mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-05 11:35:01 +00:00
Convert from WITH to OPTIONS
While here remove wrong pkgconfig dependency
This commit is contained in:
parent
7ece12c46d
commit
42deff41c2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320976
@ -12,17 +12,17 @@ MASTER_SITES= SF/mad/${PORTNAME}/${PORTVERSION} \
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Libmad library (part of MAD project)
|
||||
|
||||
OPTIONS_DEFINE= SPEED
|
||||
SPEED_DESC= Optimize for speed over accuracy
|
||||
|
||||
USE_AUTOTOOLS= libtool
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GNOME= pkgconfig
|
||||
USE_LDCONFIG= yes
|
||||
CONFIGURE_ARGS= --disable-debugging \
|
||||
--enable-sso
|
||||
.if defined(WITH_SPEED)
|
||||
CONFIGURE_ARGS+= --enable-speed
|
||||
.else
|
||||
CONFIGURE_ARGS+= --enable-accuracy
|
||||
.endif
|
||||
|
||||
SPEED_CONFIGURE_ON= --enable-speed
|
||||
SPEED_CONFIGURE_OFF= --enable-accuracy
|
||||
|
||||
post-patch:
|
||||
@${SED} -e 's|%PREFIX%|${PREFIX}|g ; s|%VERSION%|${PORTVERSION}|g' \
|
||||
|
Loading…
x
Reference in New Issue
Block a user