mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Use USE_GETOPT_LONG.
PR: ports/51374 Submitted by: KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
parent
1180ae5fc8
commit
2435510d4c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79965
@ -18,6 +18,7 @@ COMMENT= Electronic Book Viewer
|
||||
LIB_DEPENDS= eb.7:${PORTSDIR}/japanese/eb
|
||||
|
||||
USE_GNOME= imlib
|
||||
USE_GETOPT_LONG= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_AUTOMAKE_VER= 14
|
||||
@ -26,13 +27,8 @@ 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
|
||||
CPPFLAGS= -I${LOCALBASE}/include
|
||||
LDFLAGS= -L${LOCALBASE}/lib
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
|
@ -18,6 +18,7 @@ COMMENT= Electronic Book Viewer
|
||||
LIB_DEPENDS= eb.7:${PORTSDIR}/japanese/eb
|
||||
|
||||
USE_GNOME= imlib
|
||||
USE_GETOPT_LONG= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_AUTOMAKE_VER= 14
|
||||
@ -26,13 +27,8 @@ 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
|
||||
CPPFLAGS= -I${LOCALBASE}/include
|
||||
LDFLAGS= -L${LOCALBASE}/lib
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
|
Loading…
Reference in New Issue
Block a user