From 2435510d4cfa387c2a1a8e5003c038fb1fe22ec2 Mon Sep 17 00:00:00 2001 From: Munechika SUMIKAWA Date: Thu, 1 May 2003 21:51:05 +0000 Subject: Use USE_GETOPT_LONG. PR: ports/51374 Submitted by: KATO Tsuguru --- japanese/ebview-gtk2/Makefile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'japanese/ebview-gtk2') diff --git a/japanese/ebview-gtk2/Makefile b/japanese/ebview-gtk2/Makefile index 11201d5fb5be..cb7a47ef14f4 100644 --- a/japanese/ebview-gtk2/Makefile +++ b/japanese/ebview-gtk2/Makefile @@ -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) -- cgit v1.2.3