mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Conditionalize libgnugetopt dependencies.
PR: ports/47747 Submitted by: Ports Fury
This commit is contained in:
parent
09568cca96
commit
c213498fef
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74499
@ -13,8 +13,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
|
||||
eb.6:${PORTSDIR}/japanese/eb
|
||||
LIB_DEPENDS= eb.6:${PORTSDIR}/japanese/eb
|
||||
|
||||
USE_GNOMENG= yes
|
||||
USE_GNOME= imlib
|
||||
@ -22,11 +21,18 @@ USE_REINPLACE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_AUTOMAKE_VER= 14
|
||||
USE_AUTOCONF_VER= 253
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
||||
AUTOHEADER="${TRUE}"
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
.if !exists(/usr/include/getopt.h)
|
||||
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
||||
LDFLAGS+= -lgnugetopt
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
|
@ -13,8 +13,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
|
||||
eb.6:${PORTSDIR}/japanese/eb
|
||||
LIB_DEPENDS= eb.6:${PORTSDIR}/japanese/eb
|
||||
|
||||
USE_GNOMENG= yes
|
||||
USE_GNOME= imlib
|
||||
@ -22,11 +21,18 @@ USE_REINPLACE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_AUTOMAKE_VER= 14
|
||||
USE_AUTOCONF_VER= 253
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
||||
AUTOHEADER="${TRUE}"
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
.if !exists(/usr/include/getopt.h)
|
||||
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
||||
LDFLAGS+= -lgnugetopt
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user