summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2003-05-01 21:51:05 +0000
committersumikawa <sumikawa@FreeBSD.org>2003-05-01 21:51:05 +0000
commit7f81c4f6ef19a0842d87f34ce782868edf7e0c44 (patch)
treeead12b4f077438214ae060300bed2943123f667a
parent0bc6cdac2d8f41ca21732c88855e0f4d45934d08 (diff)
downloadFreeBSD-ports-7f81c4f6ef19a0842d87f34ce782868edf7e0c44.zip
FreeBSD-ports-7f81c4f6ef19a0842d87f34ce782868edf7e0c44.tar.gz
Use USE_GETOPT_LONG.
PR: ports/51374 Submitted by: KATO Tsuguru <tkato@prontomail.com>
-rw-r--r--japanese/ebview-gtk2/Makefile10
-rw-r--r--japanese/ebview/Makefile10
2 files changed, 6 insertions, 14 deletions
diff --git a/japanese/ebview-gtk2/Makefile b/japanese/ebview-gtk2/Makefile
index 11201d5..cb7a47e 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)
diff --git a/japanese/ebview/Makefile b/japanese/ebview/Makefile
index 11201d5..cb7a47e 100644
--- a/japanese/ebview/Makefile
+++ b/japanese/ebview/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)
OpenPOWER on IntegriCloud