mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Update to 1.16
Add missing dependancy on iconv PR: ports/147884 Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
This commit is contained in:
parent
6ea6abb085
commit
a2d0d7a6ca
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=260202
@ -6,22 +6,21 @@
|
||||
#
|
||||
|
||||
PORTNAME= popt
|
||||
PORTVERSION= 1.14
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.16
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ftp://ftp.sunfreeware.com/pub/freeware/SOURCES/
|
||||
MASTER_SITE_SUBDIR= rpm-4.1.x
|
||||
MASTER_SITES= http://rpm5.org/files/popt/
|
||||
|
||||
MAINTAINER= jpaetzel@FreeBSD.org
|
||||
COMMENT= A getopt(3) like library with a number of enhancements, from Redhat
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
|
||||
--program-prefix=""
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_AUTOTOOLS= libtool:22
|
||||
USE_GNOME= gnomehack
|
||||
USE_ICONV= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
MAN3= popt.3
|
||||
@ -30,15 +29,9 @@ MAN3= popt.3
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.else
|
||||
# gettext 0.13 or higher
|
||||
USE_GETTEXT= [^0-5]
|
||||
CONFIGURE_ARGS+=--enable-nls
|
||||
PLIST_SUB+= NLS=""
|
||||
USE_GETTEXT= yes
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
# remove check for xgettext - popt do not use it anyway
|
||||
@${REINPLACE_CMD} -e \
|
||||
's:if test ! -f ../rpm.c:if test "1" != "1":' \
|
||||
${WRKSRC}/configure
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (popt-1.14.tar.gz) = 4f90a07316eb825604dd10ae4f9f3f04
|
||||
SHA256 (popt-1.14.tar.gz) = 175be17571e9af3ad622531b494a0738ae632c60c8c6329273778b2b6fbbad74
|
||||
SIZE (popt-1.14.tar.gz) = 695557
|
||||
MD5 (popt-1.16.tar.gz) = 3743beefa3dd6247a73f8f7a32c14c33
|
||||
SHA256 (popt-1.16.tar.gz) = e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8
|
||||
SIZE (popt-1.16.tar.gz) = 702769
|
||||
|
@ -1,15 +1,15 @@
|
||||
--- Makefile.in.old 2009-05-07 15:17:31.000000000 -0500
|
||||
+++ Makefile.in 2009-05-07 15:21:28.000000000 -0500
|
||||
@@ -70,7 +70,7 @@
|
||||
"$(DESTDIR)$(includedir)"
|
||||
usrlibLTLIBRARIES_INSTALL = $(INSTALL)
|
||||
--- Makefile.in.orig 2010-05-05 04:55:59.000000000 +0800
|
||||
+++ Makefile.in 2010-06-16 00:29:47.000000000 +0800
|
||||
@@ -92,7 +92,7 @@
|
||||
am__installdirs = "$(DESTDIR)$(usrlibdir)" "$(DESTDIR)$(man3dir)" \
|
||||
"$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"
|
||||
LTLIBRARIES = $(usrlib_LTLIBRARIES)
|
||||
-libpopt_la_LIBADD =
|
||||
+libpopt_la_LIBADD = $(LTLIBINTL)
|
||||
am_libpopt_la_OBJECTS = popt.lo poptparse.lo poptconfig.lo popthelp.lo \
|
||||
poptint.lo
|
||||
libpopt_la_OBJECTS = $(am_libpopt_la_OBJECTS)
|
||||
@@ -287,13 +287,13 @@
|
||||
@@ -349,16 +349,16 @@
|
||||
noinst_HEADERS = poptint.h system.h
|
||||
test1_SOURCES = test1.c
|
||||
test1_LDFLAGS =
|
||||
@ -19,10 +19,14 @@
|
||||
test2_LDFLAGS =
|
||||
-test2_LDADD = $(usrlib_LTLIBRARIES)
|
||||
+test2_LDADD = $(usrlib_LTLIBRARIES) $(LTLIBICONV)
|
||||
test3_SOURCES = test3.c
|
||||
test3_LDFLAGS =
|
||||
-test3_LDADD = $(usrlib_LTLIBRARIES)
|
||||
+test3_LDADD = $(usrlib_LTLIBRARIES) $(LTLIBICONV)
|
||||
#test3_SOURCES = test3.c
|
||||
#test3_LDFLAGS =
|
||||
-#test3_LDADD = $(usrlib_LTLIBRARIES)
|
||||
+#test3_LDADD = $(usrlib_LTLIBRARIES) $(LTLIBICONV)
|
||||
tdict_SOURCES = tdict.c
|
||||
tdict_LDFLAGS =
|
||||
-tdict_LDADD = $(usrlib_LTLIBRARIES)
|
||||
+tdict_LDADD = $(usrlib_LTLIBRARIES) $(LTLIBICONV)
|
||||
noinst_SCRIPTS = testit.sh
|
||||
TESTS_ENVIRONMENT = \
|
||||
test1="./test1"
|
||||
test1="$(top_builddir)/test1"
|
||||
|
@ -1,9 +1,9 @@
|
||||
--- configure.old 2009-05-07 15:24:09.000000000 -0500
|
||||
+++ configure 2009-05-07 15:31:26.000000000 -0500
|
||||
@@ -19487,6 +19487,7 @@
|
||||
--- configure.orig 2010-05-05 04:55:59.000000000 +0800
|
||||
+++ configure 2010-06-16 00:37:52.000000000 +0800
|
||||
@@ -8450,6 +8450,7 @@
|
||||
|
||||
# This can be used to rebuild libtool when needed
|
||||
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
|
||||
LIBTOOL_DEPS="$ltmain"
|
||||
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
|
||||
|
||||
# Always use our own libtool.
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- popt.3.old 2009-05-07 15:35:15.000000000 -0500
|
||||
+++ popt.3 2009-05-07 15:36:09.000000000 -0500
|
||||
--- popt.3.orig 2009-07-26 02:52:36.000000000 +0800
|
||||
+++ popt.3 2010-06-16 00:39:09.000000000 +0800
|
||||
@@ -24,7 +24,7 @@
|
||||
.sp
|
||||
.BI "const char ** poptGetArgs(poptContext " con );
|
||||
@ -9,7 +9,7 @@
|
||||
.sp
|
||||
.BI "const char * poptBadOption(poptContext " con ", int " flags );
|
||||
.sp
|
||||
@@ -497,7 +497,7 @@
|
||||
@@ -498,7 +498,7 @@
|
||||
good error messages.
|
||||
.HP
|
||||
.nf
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- popt.c.old 2009-05-07 15:44:42.000000000 -0500
|
||||
+++ popt.c 2009-05-07 15:47:12.000000000 -0500
|
||||
--- popt.c.orig 2010-01-19 08:39:10.000000000 +0800
|
||||
+++ popt.c 2010-06-16 00:38:47.000000000 +0800
|
||||
@@ -22,6 +22,9 @@
|
||||
#include <float.h>
|
||||
#endif
|
||||
|
@ -1,21 +1,26 @@
|
||||
@comment $FreeBSD$
|
||||
include/popt.h
|
||||
lib/libpopt.a
|
||||
lib/libpopt.la
|
||||
lib/libpopt.so
|
||||
lib/libpopt.so.0
|
||||
libdata/pkgconfig/popt.pc
|
||||
%%NLS%%share/locale/cs/LC_MESSAGES/popt.mo
|
||||
%%NLS%%share/locale/da/LC_MESSAGES/popt.mo
|
||||
%%NLS%%share/locale/de/LC_MESSAGES/popt.mo
|
||||
%%NLS%%share/locale/eo/LC_MESSAGES/popt.mo
|
||||
%%NLS%%share/locale/es/LC_MESSAGES/popt.mo
|
||||
%%NLS%%share/locale/fi/LC_MESSAGES/popt.mo
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/popt.mo
|
||||
%%NLS%%share/locale/ga/LC_MESSAGES/popt.mo
|
||||
%%NLS%%share/locale/gl/LC_MESSAGES/popt.mo
|
||||
%%NLS%%share/locale/hu/LC_MESSAGES/popt.mo
|
||||
%%NLS%%share/locale/id/LC_MESSAGES/popt.mo
|
||||
%%NLS%%share/locale/is/LC_MESSAGES/popt.mo
|
||||
%%NLS%%share/locale/it/LC_MESSAGES/popt.mo
|
||||
%%NLS%%share/locale/ja/LC_MESSAGES/popt.mo
|
||||
%%NLS%%share/locale/ko/LC_MESSAGES/popt.mo
|
||||
%%NLS%%share/locale/lv/LC_MESSAGES/popt.mo
|
||||
%%NLS%%share/locale/nb/LC_MESSAGES/popt.mo
|
||||
%%NLS%%share/locale/nl/LC_MESSAGES/popt.mo
|
||||
%%NLS%%share/locale/pl/LC_MESSAGES/popt.mo
|
||||
|
Loading…
Reference in New Issue
Block a user