Commit graph

73 commits

Author SHA1 Message Date
Tijl Coosemans
1ee4da6dd1 Let USES=localbase add -L${LOCALBASE}/lib to LIBS instead of LDFLAGS.
USES=localbase:ldflags can be used to set LDFLAGS.  Normally LDFLAGS
appears too early on the command line causing some ports to link with
their own libraries in LOCALBASE (if installed) instead of WRKSRC.

Also make use of _USES_POST so -L${LOCALBASE}/lib is added as late as
possible after anything a port Makefile might set.  Use _USES_POST
instead of .include in libedit.mk and libarchive.mk so things like
'USES=libedit localbase:ldflags' work correctly.

Fix some issues with LIBS in some ports.

Switch ports that don't support LIBS to localbase:ldflags.

PR:		212987
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-09-30 19:24:30 +00:00
Sunpoet Po-Chuan Hsieh
f17ee50a16 - Update MASTER_SITES:
- Remove unfetchable upstream
  - Add my LOCAL
2016-05-23 03:49:24 +00:00
Dmitry Marakasov
70e2eaabae - No need to specify master site subdirectory when it's the same as default
Approved by:	portmgr blanket
2016-05-18 14:11:33 +00:00
Mathieu Arnold
4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00
Sunpoet Po-Chuan Hsieh
fec4d45006 - Add LICENSE_FILE
- Use USES=localbase
- Convert to new options target helper
2015-10-15 20:16:15 +00:00
Sunpoet Po-Chuan Hsieh
8e4e8bd9f6 - Convert to new test framework 2015-10-01 15:55:47 +00:00
Sunpoet Po-Chuan Hsieh
df6dc60a58 - Remove :keepla from USES=libtool 2015-08-23 16:44:11 +00:00
Antoine Brodin
6e5719ca80 Convert to USES=jpeg 2015-06-22 18:33:20 +00:00
Sunpoet Po-Chuan Hsieh
2ebb0daf38 - Use INSTALL_TARGET=install-strip instead of STRIP_CMD 2015-01-18 22:49:14 +00:00
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
337138f50f - Use USES=libtool
- Bump PORTREVISION for package change
2014-06-07 16:45:36 +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
13946f671f - Enable JPEGICC and TIFFICC by default
- Use USES=libtool instead of USE_GNOME=lthack
- Use USES=pathfix instead of USE_GNOME=gnomehack
- Use PORTDOCS
- Install static library
- Strip shared library
- Use MAKE_CMD
- Simplify Makefile
- Bump PORTREVISION for dependency and package change
2014-04-06 05:46:59 +00:00
Sunpoet Po-Chuan Hsieh
91de24a2ee - Add LICENSE
- Convert to new LIB_DEPENDS format
- Convert to new options helper
- Remove unnecessary patch: already replaced by REINPLACE_CMD
- Support STAGEDIR
2013-11-21 23:12:35 +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
dc01bbf255 - Fix CONFIGURE_ARGS assignment
Submitted by:	John Hein <jhein@symmetricom.com>
2013-08-07 16:06:21 +00:00
Sunpoet Po-Chuan Hsieh
72b6519afa - Convert to new options framework
- Fix CONFIGURE_ARGS
- Cleanup Makefile
- Cosmetic change
2012-10-07 15:08:52 +00:00
Sunpoet Po-Chuan Hsieh
32e1002c30 - Take maintainership
Feature safe:	yes
2011-11-14 02:17:21 +00:00
Martin Wilke
e1c6649edf - Remove WITH_FBSD10_FIX, is no longer needed 2011-11-09 15:26:04 +00:00
Alexey Dokuchaev
e1760484af Improve port description (loosely based on that of graphics/lcms2). 2011-11-04 04:37:47 +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
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
Olli Hauer
30f9161773 -remove MD5 2011-07-03 14:12:22 +00:00
Dirk Meyer
ca9c60461c - update to jpeg-8 2010-02-05 11:46:55 +00:00
Stanislav Sedov
ccb4d438ab - Update to 1.19: bugfix release. 2009-12-15 05:20:19 +00:00
Dmitry Marakasov
6b5fb87219 - Switch SourceForge ports to the new File Release System: categories starting with G 2009-08-22 00:23:13 +00:00
Dirk Meyer
3bbc108312 - update to jpeg7
Tested by:	pav on pointyhat
2009-07-18 11:11:29 +00:00
Stanislav Sedov
04c19715cc - Update to 1.18a. 2009-06-10 06:28:05 +00:00
Stanislav Sedov
cf66420520 - Update to 1.18.
- Do not install .la and static library files.
2009-04-07 12:19:01 +00:00
Stanislav Sedov
1617faa779 - Update to 1.17. 2007-09-09 13:13:10 +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
Stanislav Sedov
633a5b5e09 - Fix man location
Submitted by:	db
2007-01-20 02:14:17 +00:00
Stanislav Sedov
1db83699fd - Update to 1.16
- Add missed manpage entries [1]

PR:		ports/107173
Submitted by:	Radim Kolar SF.NET <hsn@sendmail.cz> [1]
2006-12-29 20:18:35 +00:00
Stanislav Sedov
b07525c1a7 - Fix typo in OPTIONS handling
PR:		ports/105515
Submitted by:	Eygene <rea-fbsd@codelabs.ru>
2006-11-14 15:06:10 +00:00
Stanislav Sedov
e5bed1ffa3 - Add KNOBS to build supplimentary utilities
- Change my email

PR:		ports/76116 (based on)
Suggested by:	Raphael Langerhorst <raphael-langerhorst@gmx.at>
Approved by:	sem (mentor)
2006-10-08 17:07:23 +00:00
Martin Wilke
18fc3eccb1 - Update to 1.15
- Pass maintainership to submitter

Short changelog:
- Black preservation on CMYK-> CMYK transforms
- Ability to set adaptation state of observer on absolute colorimetric
  transforms.
- A rather advanced feature. Actually it only allows No adaptation (d=0) and
  observer fully adapted (d=1)
- lcms can now "fix" some broken 8-bit profiles that have gray axes misplaced.
- icctrans can now read CGATS/IT8 files.
- improved tifficc with tiff Lab8 support

PR:		ports/101603
Submitted by:	Stanislav Sedov <ssedov(at)mbsd.msk.ru>
Approved by:	krion (mentor)
2006-08-10 20:59:53 +00:00
Edwin Groothuis
ff21f59f9f Remove USE_REINPLACE for categories starting with a G 2006-05-07 23:46:33 +00:00
Ade Lovett
8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Pav Lucistnik
792b758ef4 - Add SHA256 2005-11-26 01:48:16 +00:00
Ade Lovett
54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00
Pav Lucistnik
a7679d4fab - libdata/pkgconfig is now included in mtree
Approved by:	marcus (portmgr hat)
2005-05-16 21:52:58 +00:00
Kirill Ponomarev
3327b5c15d Handle libtool version more properly to prevent leftovers. 2005-01-31 09:47:31 +00:00
Volker Stolz
84b837c153 Update to 1.14
PR:		ports/76116
Submitted by:	Raphael Langerhorst
2005-01-28 12:56:06 +00:00
Joe Marcus Clarke
dc7fcbf2eb The previous commit should have bumped PORTREVISION since it changed
the runtime dependency list.

Noticed by:	GNOME Tinderbox
2004-11-11 22:54:15 +00:00
Mikhail Teterin
62a3a103b8 Remove the bogus dependency on -ltiff (--without-tiff was always in there).
Make the testcms link the new -lcms statically to avoid possible conflicts
with the already installed library (probably of a different version).

PR:	ports/68610
2004-10-25 20:14:27 +00:00
Oliver Lehmann
ef866e788f take care of $PREFIX/libdata/pkgconfig 2004-08-14 21:57:56 +00:00
Joe Marcus Clarke
9e5632dd66 Apply a big libtool patch to allow porters to use the libtool installed by
the libtoolX ports instead of the one included with each port.  Ports that
set USE_LIBTOOL_VER=X will now use the ports version of libtool instead of
the included version.  To restore previous behavior, use the new macro,
USE_INC_LIBTOOL_VER.  Both macros accept the same argument: a libtool version.

For example, to use the ports version of libtool-1.5, add the following to
your Makefile:

USE_LIBTOOL_VER=        15

To use the included version of libtool with extra hacks provided by
libtool-1.5, add the following to your Makefile:

USE_INC_LIBTOOL_VER=    15

With this change, ports that had to add additional libtool hacks to prevent
.la files from being installed or to fix certain threading issues can now
delete those hacks (after appropriate testing, of course).

PR:		63944
Based on work by:eik and marcus
Approved by:	ade (autotools maintainer)
Tested by:	kris on pointyhat
Bound to be hidden problems:	You bet
2004-07-09 17:43:11 +00:00