summaryrefslogtreecommitdiff
path: root/japanese/ebview-gtk2
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2003-05-01 21:51:05 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2003-05-01 21:51:05 +0000
commit2435510d4cfa387c2a1a8e5003c038fb1fe22ec2 (patch)
treeb47a9a85c77923e450dc46cc675c1fbcbc748e92 /japanese/ebview-gtk2
parentUpgrade to 2.3 (diff)
Use USE_GETOPT_LONG.
PR: ports/51374 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=79965
Diffstat (limited to 'japanese/ebview-gtk2')
-rw-r--r--japanese/ebview-gtk2/Makefile10
1 files changed, 3 insertions, 7 deletions
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)