59 Commits

Author SHA1 Message Date
Kurt Jaeger
e840be18ad sysutils/coreutils: fix pkg-plist for NLS=off
PR:		192309
Submitted by:	mat
2014-08-03 09:40:06 +00:00
Kurt Jaeger
eb2643090c sysutils/coreutils: avoid rebuilding WRKSRC/doc/coreutils.info
PR:		192309
Submitted by:	Martin Birgmeier <la5lbtyi@aon.at>
2014-08-01 19:36:55 +00:00
Kurt Jaeger
a767a1d09a sysutils/coreutils: 8.22 -> 8.23
- fix CONFLICTS

PR:		192304
Submitted by:	jharris@widomaker.com (maintainer)
2014-08-01 11:54:55 +00:00
Philippe Audeoud
237f8bd9c9 - Submitter take maintainership
- While I'm here use tar:xz

PR:		ports/191409
Submitted by:	jharris@widomaker.com
2014-06-27 12:29:20 +00:00
Baptiste Daroussin
a33191366c Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends

With hat:	portmgr
2014-06-25 05:35:31 +00:00
Tijl Coosemans
9f8b4bcde3 Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS.  Also remove references to
  PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
  required additional patches.

Somewhat simplified a linker command line looks like:

${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}

where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us.  If possible -L and -l flags need to be
added to LIBS to make sure they appear after any -L and -l flags set by
upstream.  Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.

Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix.  Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS.  This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.

PR:		190592
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-06-11 14:49:59 +00:00
John Marino
7741f8bee4 sysutils/coreutils: Reset maintainer
Three consecutive PR timeouts...
2014-06-10 12:35:48 +00:00
Tijl Coosemans
61237efd1f - Add missing dependency on iconv.
- Fix GMP option.
2014-02-12 12:01:35 +00:00
Martin Wilke
ce7038d597 - Fix package build 2014-02-10 07:15:19 +00:00
Martin Wilke
dfba767ae8 - Unbreak build 2014-02-10 04:33:53 +00:00
Jason Helfman
8e9e1e5652 - update to 8.22
- support staging, strip libraries
- trim master_site
- use option helpers
- shift away from inclusion of bsd.port.pre.mk as bsd.port.options.mk
  can test OSVERSION (less expensive)
- patch of Makefile was merged upstream so removed patch

PR:		185599
Submitted by:	jgh@ (myself)
Approved by:	maintainer timeout, jharris@widomaker.com ( 15 days )
2014-01-24 01:01:53 +00:00
Baptiste Daroussin
83f65384c9 Add NO_STAGE all over the place in preparation for the staging support (cat: sysutils) 2013-09-20 23:05:58 +00:00
Andrej Zverev
7ec4b3d1a2 - convert to the new perl5 framework
- convert USE_GMAKE to Uses

Approved by:	portmgr (bapt@, blanket)
2013-09-16 07:47:02 +00:00
Alex Kozlov
e159824929 - Convert USE_GETTEXT to USES (part 3)
Approved by:	portmgr (bapt)
2013-04-24 18:10:30 +00:00
Bryan Drewery
8eb049b327 - Fix build when NLS is disabled
PR:		ports/174021 [1]
PR:		ports/175745 [2]
Reported by:	Rusty Nejdl <rnejdl@ringofsaturn.com> [1]
Reported by:	Z Beeblebrox <zaphod@berentweb.com> [2]
Approved by:	maintainer timeout
Obtained from:	http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=88a6201
2013-02-07 16:40:11 +00:00
Bryan Drewery
9ffee13dd9 - Fix reinstall/upgrade trying to use gmkdir since it
was detected during build [1]
- Mark MAKE_JOBS_UNSAFE:
    help2man: can't get '--help' info from man/stty.td/stty
    gmake[2]: *** [man/stty.1] Error 127
    gmake[2]: *** Waiting for unfinished jobs....

PR:		ports/173218 [1]
Submitted by:	Jason Harris <jharris@widomaker.com> (maintainer) [1]
Feature safe:	yes
2012-10-30 21:21:48 +00:00
Raphael Kubo da Costa
d4a1d5754e Fix plist, as reported by redports.
Feature safe:	yes
2012-10-30 08:20:46 +00:00
Raphael Kubo da Costa
a6784654db Depend on Perl at build time.
Reported by Giacomo Olgeni <g.olgeni@colby.it> via private mail.

PR:		ports/173047
Feature safe:	yes
2012-10-29 22:47:22 +00:00
Raphael Kubo da Costa
3a2c3938af Update to 8.20.
PR:		ports/173047
Submitted by:	Jason Harris <jharris@widomaker.com> (maintainer)
Feature safe:	yes
2012-10-29 19:04:44 +00:00
Bryan Drewery
5227f68ac2 - Fix plist referencing 2 nonexistent files with NLS [1]
- Trim header

PR:		ports/172597 [1]
Submitted by:	bdrewery
Approved by:	Jason Harris <jharris@widomaker.com> (maintainer) [1]
Approved by:	portmgr (erwin)
Feature safe:	yes
2012-10-12 12:54:01 +00:00
Alex Dupre
4f6ed685c6 Fix plist and bump PORTREVISION. 2012-09-10 10:18:30 +00:00
Dmitry Sivachenko
18574ecda9 Update to version 8.19.
Convert to new OPTIONS framework while I am here.

Maintainer timeout:	1 month
2012-09-09 10:24:25 +00:00
Chris Rees
8da8c78868 - Rename gstat to gnustat; otherwise it collides with base gstat (for geom) [1]
- Correct REINPLACE for permissions; \+ is a special character in a BRE

PR:		ports/160060
Submitted by:	Veniamin Gvozdikov <g.veniamin@googlemail.com>
Reviewed by:	Jason Hellenthal, wxs, eadler
Approved by:	Jason Harris <jharris@widomaker.com> (maintainer)
2011-11-02 17:33:16 +00:00
Wesley Shields
52f531b38b - No need to specify CPPFLAGS in CONFIGURE_ENV.
Submitted by:	sunpoet@
2011-06-30 00:07:17 +00:00
Wesley Shields
ed55f69267 - Update to 8.12.
PR:		ports/157808
Submitted by:	Ryan Steinmetz <rpsfa@rit.edu>
Approved by:	maintainer timeout
2011-06-28 00:10:40 +00:00
Martin Wilke
a9481afc8a - Get Rid MD5 support 2011-03-19 12:38:54 +00:00
Pav Lucistnik
ecf675d301 - Disable tests for now, they hang on pointyhat
Reported by:	pointyhat
Ok'ed by:	wxs
2010-08-23 12:06:42 +00:00
Wesley Shields
62f98d498c Update to 8.5
PR:		ports/148822
Submitted by:	Klaus Aehlig <aehlig@linta.de>
Approved by:	Jason Harris <jharris@widomaker.com> (maintainer)
2010-08-20 19:10:38 +00:00
Pav Lucistnik
fe337e0489 - Introduce a new USE_XZ knob that handles lzma/xz compressed distfiles
- Convert a bunch of ports to use it

PR:		ports/146329
Submitted by:	mm
With hat:	portmgr
2010-06-04 08:09:20 +00:00
Ade Lovett
8d837132c7 Bounce PORTREVISION for gettext-related ports. Have fun, ya'll. 2010-05-31 02:01:56 +00:00
Max Brazhnikov
57ee8e41fd Some utils link with gmp library if exists.
Add optional dependency on math/gmp and disable gmp support
properly when it's not needed.

PR:		ports/146027
Reported by:	Craig Leres <leres at ee.lbl.gov>
2010-04-25 15:31:17 +00:00
Renato Botelho
c0a9161eaf Update to 7.5
PR:		ports/138083
Submitted by:	Sylvio Cesar <scjamorim@bsd.com.br>
Approved by:	maintainer timeout (3 weeks)
Feature safe:	yes
2009-09-15 23:47:45 +00:00
Jeremy Chadwick
0f313cf5f3 Fixup for my previous commit/patch.
- OSVERSION check should be against 800039 or higher, as that's when
  the sgtty changes were committed.
  http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/param.h.diff?r1=1.355;r2=1.356;f=h

- Fix stty.c patch.  Previous version would result in termios bits
  being overridden by #include <sys/ioctl_compat.h>, causing coreutils'
  stty to modify bits different than /bin/stty.  This version removes
  tab1/tab2 delay support, since tab1/tab2 delays aren't available in HEAD
  outside of the binary compatibility interface.  Also fixes stty --help
  usage to indicate only tab0 and tab3 are available.
2008-08-29 02:36:25 +00:00
Jeremy Chadwick
11e7c7e8e8 Fix-up for 8.0-CURRENT. src/stty.c fails to compile due to TAB1 and TAB2
termios bits being undefined.  They've been moved to sys/ioctl_compat.h which
requires _KERNEL be defined.  Somewhat of an ugly hack; possible alternative
would be to remove use of TAB1 and TAB2 in src/stty.c altogether.

Reported by:	jsa @ EFnet
2008-08-28 12:06:21 +00:00
Rong-En Fan
741aa71483 Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
2008-08-21 06:18:49 +00:00
Edwin Groothuis
77837c3567 Minor enhancement to sysutils/coreutils
Cleanup conflicts in this port (fileutils, sh-utils and
	textutils don't exist anymore)
	Provide a regression-test target to determine the convenience
	of updating this port.  Add commented USE_BISON line as it
	is recommended but not required, maybe future versions will
	need it.
	Update the WWW.
	No functional change.

PR:		ports/124623
Submitted by:	"Pedro F. Giffuni" <pfgshield-freebsd@yahoo.com>
Approved by:	maintainer timeout
2008-07-05 11:33:06 +00:00
Edwin Groothuis
090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00
Christian Weisgerber
a8ec5918ce Revert previous workaround, 8.0-CURRENT has grown fdopendir(3).
Don't bother with __FreeBSD_version checking for what was only an
eight-day window.
2008-04-19 15:22:57 +00:00
Christian Weisgerber
0491e1d212 Work around the assumption that openat() implies the existence of
fdopendir().  FreeBSD 8 has the former, but not the latter.

PR:		122433
Approved by:	maintainer
2008-04-13 19:08:36 +00:00
Rong-En Fan
f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
2007-07-23 09:36:51 +00:00
Li-Wen Hsu
4017c80408 - Put back accidentally deleted line in pkg-plist when applying the patch
- Bump PORTREVISION

Noticed by:	pav
Approved by:	maintainer
2007-06-16 08:21:50 +00:00
Li-Wen Hsu
cefa076561 From the PR:
- Update to GNU coreutils 6.9
- Eliminate configure warning
- Sort plist

While I am here:
- Remove unsupported checksum algorithm SHA1 and RMD160

PR:		ports/111489
Submitted by:	"Eric P. Scott" <eps+pbug0704 AT ana.com>
Approved by:	Jason Harris <jharris AT widomaker.com> (maintainer)
2007-06-05 09:42:22 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Gabor Kovesdan
c0ce4105e7 Remove USE_GPG from all effected ports. This knob is a no-op and the way it
was supposed to work is useless, because if we can't trust the distfile from
the remote machine, we can't trust the signature from the same machine either.
Our MD5 and SHA256 are good for checking both the sanity and the
trustiness of distfiles.

Approved by:	portmgr (erwin), erwin (mentor)
2007-01-29 19:05:07 +00:00
Nicola Vitale
9a425f895d - Updated to 6.7
PR:		ports/107954
Submitted by:	Jason Harris <jharris@widomaker.com>
Approved by:	alexbl (mentor, implicit)
2007-01-16 14:25:40 +00:00
Martin Wilke
d1a47691a2 - Fix Update problems
- Bump PORTREVISION

Submitted by:	ports@ ml
Thanks To:      trasz
2006-11-21 19:51:09 +00:00
Martin Wilke
5260088d31 - Update to 6.4
PR:		ports/105181
Submitted by:	trasz <trasz@pin.if.uz.zgora.pl>
Approved by:	maintainer timeout
2006-11-18 23:23:50 +00:00
Renato Botelho
7390aaa2d3 Fix PLIST: It was not removing some locale dirs that are not listed on
BSD.local.dist

PR:		ports/101477
Submitted by:	Stanislav Sedov <ssedov@mbsd.msk.ru>
Approved by:	maintainer timeout (16 days)
2006-08-30 10:45:54 +00:00
Edwin Groothuis
28dd10dcb4 Remove USE_REINPLACE from all categories starting with S 2006-05-13 04:15:53 +00:00
Edwin Groothuis
186c2e326c Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 06:28:59 +00:00