Commit graph

27 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
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Dmitry Marakasov
2e3aa2e447 - Remove unneeded WRKSRC
- Switch to USES=localbase
- Switch to options helpers
- Simplify installation
2016-01-08 14:19:55 +00:00
Baptiste Daroussin
5587763f34 cleanup plist 2014-12-20 19:23:19 +00:00
Tijl Coosemans
37f54e0f66 net/openldap24-*:
- Convert to USES=libtool and bump dependent ports
- Avoid USE_AUTOTOOLS
- Don't use PTHREAD_LIBS
- Use MAKE_CMD

databases/glom:
- Drop :keepla
- Add INSTALL_TARGET=install-strip

databases/libgda4* databases/libgda5*:
- Convert to USES=libtool and bump dependent ports
- USES=tar:xz
- Use INSTALL_TARGET=install-strip
- Use @sample

databases/libgdamm:
- Drop :keepla
- USES=tar:bzip2
- Use INSTALL_TARGET=install-strip

databases/libgdamm5:
- Add INSTALL_TARGET=install-strip
- Drop --enable-static (inherited from old repocopy)

devel/anjuta x11-toolkits/py-gnome-extras:
- Drop :keepla

dns/powerdns dns/powerdns-devel:
- Convert to USES=libtool
- Add INSTALL_TARGET=install-strip
- Disable static modules
- Stop creating library symlinks with .0 suffix, not needed for dynamically
  opened modules

mail/dovecot2:
- Add USES=libtool

mail/dovecot2-pigeonhole:
- Drop CONFIGURE_TARGET (incorrect for Dragonfly)
- Add USES=libtool and INSTALL_TARGET=install-strip

math/gnumeric:
- USES=libtool tar:xz

Approved by:	portmgr (implicit, bump unstaged ports)
2014-07-24 18:34:16 +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
Martin Wilke
8f96df49da - Stage support
- Support USE_GITHUB
- Support shebangfix USES macro

PR:		187758
Submitted by:	Ports Fury
2014-05-17 08:40:47 +00:00
Baptiste Daroussin
0c710c7b4e Add NO_STAGE all over the place in preparation for the staging support (cat: net) 2013-09-20 22:10:23 +00:00
Mathieu Arnold
62a41b423b - Convert to new perl framework
- Remove MAKE_JOBS_SAFE=yes, it's the default.
2013-08-03 13:44:00 +00:00
Baptiste Daroussin
e5ab3e755a Update 0.4.2
Add license
Respect DOCS
Trim heade
Undeprecate
point to new home

PR:		ports/172040
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
Feature safe:	yes
2012-10-25 22:19:47 +00:00
Baptiste Daroussin
a3bd44a914 Deprecate a bunch a ports with no more public distfiles (thanks ehaupt's distilator) 2012-09-21 10:07:33 +00:00
Chris Rees
db61a267a6 Reset maintainership for ports maintained by Gerrit Beine.
He had requested this some time ago, so any past timeouts should not be held
against him.

Your work in the past has been much appreciated, thank you.

Submitted by:	maintainer, via private email
2012-07-11 18:13:33 +00:00
Andrej Zverev
bd4d8236ba - Remove SITE_PERL from *_DEPENDS
Approved by: portmgr@ (bapt@)
2012-06-30 14:39:14 +00:00
Martin Wilke
bb86cbe5d2 - Get Rid MD5 support 2011-03-20 12:54:45 +00:00
Xin LI
03b42818c9 Chase after net/openldap24-server update.
Reminded by:	miwi
2011-02-25 01:32:17 +00:00
Xin LI
5bbd5cd2dc Bump PORTREVISION's after OpenLDAP update.
Suggested by:	rafan
2009-01-05 19:04:45 +00:00
Pav Lucistnik
fa38ed02cc - Remove duplicates from MAKE_ENV after inclusion of CC and CXX in default MAKE_ENV 2008-07-25 12:24:09 +00:00
Martin Wilke
6b7299427a - Update to 0.4.1
PR:		ports/105038
Submitted by:	Gerrit Beine<gerrit.beine@gmx.de> (maintainer)
Sponsored by:   FreeBSD Bug-a-thon #2
2006-11-05 00:19:13 +00:00
Edwin Groothuis
0f12b488a5 Remove USE_REINPLACE from all categories starting with N 2006-05-11 22:49:56 +00:00
Pav Lucistnik
eac7e79a90 - Update to 0.3.6
- Take maintainership

PR:		ports/91790
Submitted by:	Gerrit Beine <gerrit.beine@gmx.de>
2006-01-14 17:17:58 +00:00
Bruce M Simpson
5879dd9aaa Drop maintainership for ports which I sadly no longer have
the time, hardware, or resources to maintain.
2005-12-12 21:53:40 +00:00
Bruce M Simpson
4087d11027 SIZE update jumbo-commit.
Submitted by:	trevor
2004-03-25 03:13:15 +00:00
Bruce M Simpson
8235e6932e Update this port to use the USE_OPENLDAP switch from bsd.port.mk.
Noticed by:	Oliver Eikemeier
2004-02-16 14:37:39 +00:00
Bruce M Simpson
5917cbfb83 Whitespace. 2004-02-16 14:35:30 +00:00
Joe Marcus Clarke
73f7c91b5d Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.
(Part 1)
2004-02-04 05:10:27 +00:00
Doug Barton
e97db53ab7 Adjust the dependency check on p5-Net-DNS to take into account its
new PERL_ARCH'ified location.

In a few cases, standardize on searching for
${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm instead of other files.
2004-01-03 20:30:39 +00:00
Bruce M Simpson
357f89bcbe New port: net/ldap2dns
PR:		ports/50767
2003-09-29 00:46:56 +00:00