Commit graph

41 commits

Author SHA1 Message Date
Jan Beich
48c5cf152e mail/mmr: unbreak with libc++ 3.9
mime.cpp:895:12: error: assigning to 'char *' from incompatible type 'const char *'
                if ( (ptr=strrchr(file, '/')) != NULL )
                         ^~~~~~~~~~~~~~~~~~~
mimetype.cpp:176:18: error: assigning to 'char *' from incompatible type 'const char *'
        if ( (extension=strrchr(filename, '.')) == NULL )
                        ^~~~~~~~~~~~~~~~~~~~~~
2017-02-01 12:28:19 +00:00
Tijl Coosemans
6ead27eb95 Remove libiconv.so.3 compatibility link that was added in r374303 to
prevent massive PORTREVISION bumps.  Bump dependent ports that have not
been bumped since.
2016-12-08 19:23:24 +00:00
Dmitry Marakasov
4e942b6419 - Fix trailing whitespace in pkg-descrs, categories [g-n]*
Approved by:	portmgr blanket
2016-05-19 10:44:11 +00:00
John Marino
cf537c7070 mail/mmr: USES+= ncurses, link with libncurses instead of libcurses 2016-02-05 09:55:00 +00:00
Dmitry Marakasov
1d7ea38f94 - Switch to options helpers 2015-11-30 16:52:50 +00:00
Tijl Coosemans
074ea5282a converters/libiconv:
- Remove const qualifier from iconv(3) to match POSIX:
  http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html
- Patch iconv.h to expose more GNU extensions when LIBICONV_PLUG is
  defined because the base system iconv supports these extensions too.

Add/remove patches to/from ports to call iconv with non-const arguments.

This breaks some ports on FreeBSD 10 because base system iconv.h still has
the const qualifier.  Fix this by letting USES=iconv add a build dependency
on converters/libiconv so ports can use its iconv.h (with LIBICONV_PLUG
defined) instead of the base system iconv.h.

This exposed some ports that link with libiconv when it is available instead
of using libc iconv.  In these cases one of the following changes has been
made:
- patch configure scripts to test for libc iconv first
- add ac_cv_lib_iconv_libiconv=no or similar to CONFIGURE_ARGS to disable
  some configure tests
- converters/wkhtmltopdf: this includes Qt4 so add a patch from devel/qt4
- lang/gcc5-aux: respect CFLAGS and friends during configure such that
  LIBICONV_PLUG is defined in the iconv test, also switch to external
  gettext
- mail/gnarwl: replace patches with CPPFLAGS/LIBS
- multimedia/ffmpeg2theora: remove iconv test from SConstruct and use
  ICONV_LIB in port Makefile instead, also fix a bug in subtitles.c
- net-im/licq: finish conversion to cmake
- net-mgmt/bandwidthd, net-mgmt/icinga, net-mgmt/nagios, net-mgmt/nagios4:
  don't need iconv
- textproc/p5-XML-TinyXML: finish conversion to USES=perl5

Other changes:
- databases/qdbm and slaves: respect CFLAGS and friends, also enable bzip2
  and lzo support
- games/ldmud: respect CFLAGS and friends
- graphics/inventor: replace some patches with MAKE_ARGS/MAKE_ENV to respect
  CFLAGS and friends, also remove FreeBSD/alpha patch and add missing xorg
  dependencies

PR:		199099
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2015-04-15 08:20:27 +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
Emanuel Haupt
a409a44861 Restore LICENSE_FILE as mat pointed out that BSD licenses have copyright holder
in them.

Notified by:	mat
2014-02-21 14:51:24 +00:00
Emanuel Haupt
a8735ef920 Support staging 2014-02-21 09:14:54 +00:00
Baptiste Daroussin
fd61959c15 Add NO_STAGE all over the place in preparation for the staging support (cat: mail) 2013-09-20 19:59:12 +00:00
Guido Falsi
642be1b81d - Make ports use the libc provided iconv implementation on 10-CURRENT
after r254273
- Fix a bunch of ports to properly work after this
- Mark converters/libiconv as IGNORE for systems with iconv in libc

Reviewed by:	bapt
Approved by:	portmgr (bapt)
Discussed with:	bapt, bsam (who both contributed ideas and code)
2013-09-04 18:06:07 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Marcus von Appen
a3a0715f38 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	zeising
2013-04-27 11:59:28 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Martin Wilke
fa3744283e - Update MASTER_SITES and WWW: line
- Add LICENSE
- Add MAKE_JOBS_SAFE
- Support NOPORTEXAMPLES

PR:		160123
Submitted by:	Ports Fury
2011-08-26 04:09:07 +00:00
Baptiste Daroussin
d389c2f0a8 Deprecate some ports where I can't find distfiles and upstream 2011-08-02 17:04:00 +00:00
Olli Hauer
c5284f2b4e - remove MD5 2011-07-03 13:53:52 +00:00
Ion-Mihai Tetcu
0c25fde6e7 Update to version 1.6.0
PR:		ports/100034
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2006-07-10 22:04:32 +00:00
Pav Lucistnik
145be4426a - Add SHA256 2005-11-25 15:31:02 +00:00
Yen-Ming Lee
69e7c98034 - add USE_GCC=2.95 and unbreak this port
- utilize DOCSDIR and EXAMPLESDIR
- replace pkg-plist with PORTDOCS, PLIST_FILES and PLIST_DIRS

PR:		72107
Submitted by:	leeym
Approved by:	portmgr (marcus)
2004-09-27 18:14:56 +00:00
Kris Kennaway
eb9984e0f5 BROKEN on 5.x: Does not compile with gcc 3.4.2 2004-08-16 02:47:09 +00:00
Trevor Johnson
33fdc4cde2 SIZEify. 2004-03-17 18:29:46 +00:00
Akinori MUSHA
2c41b9e5f3 De-pkg-comment. 2003-02-20 19:00:52 +00:00
Mario Sergio Fujikawa Ferreira
f0a1969d34 o Rollback PORTCOMMENT modifications while this feature's implementation
is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
2002-11-10 16:48:51 +00:00
Adam Weinberger
d9611f9375 Use PORTCOMMENT in the Makefile, and whack the pkg-comment.
Approved by:	pat
2002-11-06 22:47:41 +00:00
Christian Weisgerber
940d110922 C++ fixes for GCC3.
PR:		44460
Submitted by:	Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
2002-10-26 00:27:50 +00:00
Norikatsu Shigemura
4c86144fb2 Update to 1.5.4.
PR:		ports/44360
Submitted by:	Volker Stolz <vs@lambda.foldr.org>
2002-10-23 15:02:44 +00:00
Patrick Li
b666502afd - PORTDOCS police
- DOCSDIR support to some
- Brush out some lint
2001-12-24 02:17:17 +00:00
Jimmy Olgeni
1be0301128 Spaces->tabs in the mail category.
(I know, I look boring and pedant :o)
2001-02-05 15:11:27 +00:00
Chris Piazza
28849e36e9 Update to use PORTNAME/PORTVERSION 2000-04-13 20:01:08 +00:00
Michael Haro
19a336cf01 update to 1.5.4
PR:		17718
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-03-31 23:51:54 +00:00
Kris Kennaway
027f59c9d8 Remove andy@icc.surw.chel.su as maintainer from his ports..he doesn't
have time to maintain them.

Approved by:	andy
2000-03-29 07:19:16 +00:00
Steve Price
eba14b4985 Fix compile-time errors on -current. 2000-02-20 20:51:45 +00:00
David E. O'Brien
f3a9c6c81e Change Id->FreeBSD. 1999-08-25 06:51:17 +00:00
Tim Vanderhoek
dd9ff05a6a Commit #3/4 to enforce caps, no period.
FWIW, checkout of these things took 5+hrs, staying on the local
.freebsd.org net w/o hitting the 'net at all.

As promised,

$ time cvs ci
real    67m51.701s
user    0m1.250s
sys     0m5.345s
1999-06-26 19:12:45 +00:00
Michael Haro
c7a56e9c3e Add (prepare to be shocked) WWW: 1999-05-03 05:50:38 +00:00
Steve Price
c242b7b04a Update to version 1.5.2.
PR:		11352
Submitted by:	maintainer
1999-05-01 02:47:40 +00:00
Justin M. Seger
34dd10ee15 Unbreak.
Submitted by:	steve
1998-10-13 02:44:51 +00:00
Justin M. Seger
2276b72f2d Mark BROKEN for ELF:
g++ -o mmr main.o rcfile.o listing.o handlemail.o commands.o terminal.o mailmsg.o  mime.o mimetype.o base64.o filemap.o iobottle.o my_regex.o outgoing.o  md5/libmd5.a -lncurses -lcompat
cc: md5/libmd5.a: No such file or directory
*** Error code 1
1998-10-12 19:24:09 +00:00
Satoshi Asami
643c85f080 Put MASTER_SITES nd aMASTER-SITE-SUBDIR in right order.
Found by:	portlint
1997-11-04 04:45:01 +00:00
Justin M. Seger
9bc44cdb64 Import of port for mmr 1.5.1
"My Mailer" is an incarnation of a UNIX text-based mailer
designed to be an intermediate step between mail and pine.

PR:		ports/4831
Submitted by:	andy@icc.surw.chel.su
1997-11-01 14:15:14 +00:00