Commit graph

24 commits

Author SHA1 Message Date
Tijl Coosemans
4072ee0553 Revert r356926 and r356927. Not all ports that depend on lcms* have been
converted to USES=libtool yet, so their .la files may still refer to the
lcms* .la files.
2014-06-09 07:49:58 +00:00
Sunpoet Po-Chuan Hsieh
bf065d28df - Use USES=libtool
- Bump PORTREVISION for package change
2014-06-07 16:45:44 +00:00
Tijl Coosemans
aad09bc5e2 When linking a library libA with a library libB using libtool, if libB.la
exists, libtool will add all libraries libB.la refers to (dependency_libs
field) to the linker command line and store them in the dependency_libs
field of libA.la.  So everything that subsequently links with libA will also
link to these extra libraries.  This causes too much overlinking.

This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs
field in .la libraries during staging.  However, because .la libraries have
very limited use when dependency_libs is empty it makes sense to completely
remove them during staging.

So with this commit USES=libtool is modified to remove .la libraries and a
new form (USES=libtool:keepla) is introduced in case they need to be kept
(dependency_libs is still emptied).

PORTREVISION is bumped on all ports with USES=libtool that install .la
libraries.  Most ports are also changed to add :keepla because .la
libraries have to be kept around as long as there are dependent ports with
.la libraries that refer to them in their dependency_libs field.  In most
cases :keepla can be removed again as soon as all dependent ports that
install .la libraries have some form of USES=libtool added to their
Makefile.

PR:		ports/188759
Exp-run:	bdrewery
Approved by:	portmgr (bdrewery)
2014-04-23 13:25:16 +00:00
Sunpoet Po-Chuan Hsieh
7f2d6716e3 - Update to 2.6
- Enable JPEGICC and TIFFICC by default
- Use USES=libtool instead of USE_GNOME=lthack
- Use PORTDOCS
- Install static library
- Strip shared library
- Use MAKE_CMD
- Remove unnecessary PLIST_SUB
- Simplify Makefile

Changes:	https://github.com/mm2/Little-CMS/blob/master/ChangeLog
2014-04-06 05:47:04 +00:00
Sunpoet Po-Chuan Hsieh
f5b52a8acc - Use USES=pathfix 2013-12-25 20:10:17 +00:00
Sunpoet Po-Chuan Hsieh
08ddca349f - Convert to new LIB_DEPENDS format
- Convert to new options helper
- Support STAGEDIR
2013-11-21 23:12:39 +00:00
Baptiste Daroussin
eb08c5441c Add NO_STAGE all over the place in preparation for the staging support (cat: graphics) 2013-09-20 18:35:44 +00:00
Sunpoet Po-Chuan Hsieh
20c1eacf2b - Use !${PORT_OPTIONS:Mfoo} instead of empty(PORT_OPTIONS:Mfoo) 2013-08-25 16:14:58 +00:00
Sunpoet Po-Chuan Hsieh
16913fc284 - Update to 2.5
Changes:	https://github.com/mm2/Little-CMS/blob/master/ChangeLog
2013-07-10 03:41:06 +00:00
Sunpoet Po-Chuan Hsieh
821ce13087 - Fix typo in MAN1
PR:		ports/172465
Submitted by:	Oliver Heesakkers <dev2@heesakkers.info>
2012-10-08 14:22:10 +00:00
Sunpoet Po-Chuan Hsieh
d0f587932e - Update to 2.4
- Convert to new options framework
- Fix CONFIGURE_ARGS
- Cleanup Makefile
- Cosmetic change

Changes:	https://github.com/mm2/Little-CMS/blob/master/ChangeLog
2012-10-07 15:09:51 +00:00
Sunpoet Po-Chuan Hsieh
bf5820b873 - Update to 2.3
- Use bsd.port.options.mk
- Pet portlint
- Cosmetic change

Changes:	https://github.com/mm2/Little-CMS/blob/master/ChangeLog
		http://littlecms2.blogspot.com/2011/12/littlecms-23-released.html
2011-12-17 15:07:28 +00:00
Sunpoet Po-Chuan Hsieh
da6ed8b3a3 - Take maintainership
Feature safe:	yes
2011-11-14 01:57:45 +00:00
Martin Wilke
e1c6649edf - Remove WITH_FBSD10_FIX, is no longer needed 2011-11-09 15:26:04 +00:00
Alexey Dokuchaev
41cda1c0bc Back out some parts of the previous commit. While "technicalist excellence"
might be something cool, eternal values such as obviousness and readability
should not be sacrificed in its sake.

Discussed with:	pav
2011-11-04 13:55:43 +00:00
Alexey Dokuchaev
95f8c9fd5a - Convert old school PLIST_SUB's to PLIST_FILES tuning and offload pkg-pist
- Assign MAN1 variable dynamically, based on selection of utilities
- Register `test' target quite natural dependency on `build' one, and hook
  it to `regression-test' so tests will be run when building on tinderbox
2011-11-04 08:20:11 +00:00
Alexey Dokuchaev
17a717e190 - Canonicalize Makefile header
- Rephrase COMMENT line, define LICENSE (MIT)
- Prefer lowercase (foo) to uppercase (FOO) variables in ``.for .. .endfor''
  loops, as it indicates better that variable supposed to be "local"
- Cleanup Makefile (drop no-op REINPLACE_CMD's, CFLAGS augmentation, etc.)
- Use more standard MANPREFIX instead of MAN1PREFIX which also does not seem
  to be documented anywhere
2011-11-04 03:41:21 +00:00
Alexey Dokuchaev
ad4166ed4c - Improve port description (reformat and make it more complete)
- Stop telling lies about LGPL; while Little CMS did use LGPL until revision
  1.12, it switched to the MIT license after that as it is more suitable for
  commercial applications
- Remove Author tag since WWW page is comprehensive enough
2011-11-04 03:32:18 +00:00
Beat Gaetzi
1c9a79eb5f - Fix build on FreeBSD 10
- Remove contiguous blank line
2011-10-27 10:37:43 +00:00
Stanislav Sedov
422bce3414 - Return my ports back to the pool. I was unable to make any fixes to
my ports in the past 3 weeks while ports were broken on any 10.x
  machines, which means I'm unable to maintain them.  So let people know
  that there's no available support for them until things are back to
  normal (which also means that anyone with spare time will be able
  to fix them without getting approval).
2011-10-24 03:33:20 +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
Stanislav Sedov
cc516d16ad - Update to 2.2. This is a bugfix release; it also adds support for
dictionary metatag.

Submitted by:	kwm@
2011-09-18 06:00:32 +00:00
Koop Mast
0e682dded4 Remove USE_GNOME=gnometarget from ports. It has been a empty keyword since
mid 2008.

PR:		ports/159624
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
2011-08-11 19:20:17 +00:00
Stanislav Sedov
830f06af34 - Add port for graphics/lcms2, a second version of Little CMS.
This is a separate port, because lcms2 is not API compatible with
  lcms1.

  WWW:	http://www.littlecms.com/
2010-12-05 08:32:42 +00:00