mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
Conditionalize gnugetopt dependencies.
PR: ports/47325 Submitted by: Ports Fury
This commit is contained in:
parent
6a789c1f78
commit
d5baed084e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74476
@ -14,13 +14,19 @@ MASTER_SITE_SUBDIR= fame
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
|
||||
fame-0.9.0:${PORTSDIR}/graphics/libfame
|
||||
LIB_DEPENDS= fame-0.9.0:${PORTSDIR}/graphics/libfame
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
|
||||
MAN1= recmpeg.1
|
||||
|
||||
CPPFLAGS= -I${LOCALBASE}/include
|
||||
LDFLAGS= -L${LOCALBASE}/lib
|
||||
|
||||
.if !exists(/usr/include/getopt.h)
|
||||
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
||||
LDFLAGS+= -lgnugetopt
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -14,13 +14,19 @@ MASTER_SITE_SUBDIR= fame
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
|
||||
fame-0.9.0:${PORTSDIR}/graphics/libfame
|
||||
LIB_DEPENDS= fame-0.9.0:${PORTSDIR}/graphics/libfame
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
|
||||
MAN1= recmpeg.1
|
||||
|
||||
CPPFLAGS= -I${LOCALBASE}/include
|
||||
LDFLAGS= -L${LOCALBASE}/lib
|
||||
|
||||
.if !exists(/usr/include/getopt.h)
|
||||
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
||||
LDFLAGS+= -lgnugetopt
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user