1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
Commit Graph

55 Commits

Author SHA1 Message Date
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
Rene Ladan
2d38196849 - Remove optional dependency on expired japanese/chasen
- Use modern LIB_DEPENDS
- Use option helpers (aspell detection is broken upstream)
- Stage support (untested)
- Bump PORTREVISION

- BROKEN: does not link (10.0 amd64):
cc -DHAVE_PTHREAD -D_REENTRANT -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DDPS_CONF_DIR=\"/prefix/dpsearch-4.53_2/etc/dpsearch\" -DDPS_VAR_DIR=\"/var/dpsearch\" -DDPS_SHARE_DIR=\"/prefix/dpsearch-4.53_2/share/dpsearch\" -o .libs/search.cgi search_cgi-search.o  ./.libs/libdpsearch.so -L/usr/local/lib ./.libs/libdpcharset.so -lpthread -lm -lz  -Wl,--rpath -Wl,/prefix/dpsearch-4.53_2/lib
cc -DHAVE_PTHREAD -D_REENTRANT -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DDPS_CONF_DIR=\"/prefix/dpsearch-4.53_2/etc/dpsearch\" -DDPS_VAR_DIR=\"/var/dpsearch\" -DDPS_SHARE_DIR=\"/prefix/dpsearch-4.53_2/share/dpsearch\" -o .libs/storedoc.cgi storedoc_cgi-storedoc.o  ./.libs/libdpsearch.so -L/usr/local/lib ./.libs/libdpcharset.so -lpthread -lm -lz  -Wl,--rpath -Wl,/prefix/dpsearch-4.53_2/lib
./.libs/libdpcharset.so: undefined reference to `dps_minimove_backward'
./.libs/libdpsearch.so: undefined reference to `DpsSQLLimit8'
./.libs/libdpsearch.so: undefined reference to `DpsSQLValue'
./.libs/libdpsearch.so: undefined reference to `DpsSQLResInit'
./.libs/libdpsearch.so: undefined reference to `DpsSQLLimit4'
./.libs/libdpsearch.so: undefined reference to `DpsSQLFree'
./.libs/libdpcharset.so: undefined reference to `dps_minimove_forward'
./.libs/libdpsearch.so: undefined reference to `DpsSQLNumRows'
./.libs/libdpsearch.so: undefined reference to `_DpsSQLQuery'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
2014-04-13 11:56:12 +00:00
Martin Wilke
9df46da441 - Covert USE_GMAKE, USE_BZIP2, USE_XZ to USES 2014-03-15 08:12:20 +00:00
Baptiste Daroussin
85fbf21ec5 Add NO_STAGE all over the place in preparation for the staging support (cat: www) 2013-09-20 23:36:50 +00:00
Antoine Brodin
151114b999 Unbreak after PORT_OPTIONS conversion 2013-06-24 20:16:33 +00:00
Pietro Cerutti
2ad92eab94 - Get rid of PTHREAD_CFLAGS and PTHREAD_LIBS (category: www)
Approved by:	portmgr
2013-02-07 12:37:48 +00:00
Baptiste Daroussin
e6e5d7753a Convert to new options framework 2012-10-05 16:30:22 +00:00
Olli Hauer
63f3e3b0d4 - remove www/apache20 and devel/apr0
- s/USE_APACHE= 20+/USE_APACHE= 22+/
- unify s/YES/yes/
- cleanup APACHE_VERSION <= 22 usage
- add entry to MOVED

with hat apache@
2012-08-18 14:29:08 +00:00
Olli Hauer
19fe40753d - change required APACHE version from 13+ to 20+
(prepare to remove www/apache13)

- no PORTREVISION bump since apache22 is the default

with hat apache@
2012-01-01 16:47:41 +00:00
Olli Hauer
7a0bd31763 - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is defined 2011-08-20 17:27:52 +00:00
Martin Wilke
a9481afc8a - Get Rid MD5 support 2011-03-19 12:38:54 +00:00
Wen Heping
43721c23d5 - Bump PORTREVISION to chase the update of dns/libidn 2011-03-14 08:40:06 +00:00
Pav Lucistnik
62ebff95c5 - Chase libextractor shlib raise
Reported by:	pointyhat
Pointy hat to:	vd
2011-03-06 23:19:02 +00:00
Li-Wen Hsu
fd371ac171 - Update to 4.53
PR:		ports/143140
Submitted by:	Maxim Zakharov <maxime AT maxime.net.ru>
2010-01-31 08:38:35 +00:00
Dmitry Marakasov
5f4c12d9e9 - Update to 4.52
PR:		133997
Submitted by:	Maxim Zakharov <maxime at maxime dot net dot ru>
2009-04-27 01:39:22 +00:00
Beech Rintoul
363f864e63 - Update to 4.51
- Respect NOPORTDOCS

PR:		ports/130490
Submitted by:	Maxim Zakharov <maxime@maxime.net.ru>
2009-01-13 11:31:06 +00:00
Dmitry Marakasov
604fcef035 - Chase japanese/chasen-base shlib version bump
- While here, fix misspelled *_DEPENDS, improve APACHE dependency handling, fix plist
2008-12-29 22:38:49 +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
Martin Wilke
d5ddfe33c7 - Update to 4.50
PR:		126341
Submitted by:	Maxim Zakharov <maxime@maxime.net.ru>
2008-08-07 22:24:01 +00:00
Pav Lucistnik
ffc8d0dd3e - Update to 4.50
PR:		ports/126072
Submitted by:	Maxim Zakharov <maxime@maxime.net.ru>
2008-07-29 15:45:44 +00:00
Beech Rintoul
dea85b5873 - Update to 4.49
Changelog:
	* String tokenization has been improved. For example, "c--" and "c#"
	  are now cosidered as words.
	* A subdocument indexing technique has been implemented.
	* LongestTextItems command has been added. Use it to specify the number
	  of longest text items to index.
	* The support has been added for georgian-academy and georgian-ps
	  charsets.
	* URL data preloading has been fixed for multi-DBAddr configurations.
	* HTML parser is now skiping indexing within tags with visibility set to
	  "none" or "hidden" in "style" attribute.
	* Subnet command has been fixed.
	* $*(x) type of template meta-variable has been added. Use it to
	  HTML-escape value without search words highlighting.
	* $(np) and $(p) have been fixed in "resbot" and "bottom" sections of
	  search template.
	* PagesInGroup command has been added. Use it to specify the number of
	  additional pages from the same site when google-like groupping
	  is enabled.
	* ServerWeight command has been fixed.

PR:		ports/120677
Submitted by:	Maxim Zakharov <maxime@maxime.net.ru>
2008-02-15 08:59:14 +00:00
Martin Wilke
acd3bf2d18 - Update to 4.48
PR:		117570
Submitted by:	Maxime Zakharov <maxime@maxime.net.ru>
2007-10-27 22:46:34 +00:00
Martin Wilke
a3b1def0a6 - Update to 4.47
- Fix build after objformat removal [1]

PR:		114497
Submitted by:	Maxime Zakharov <maxime@datapark.ru>
		miwi
2007-07-12 19:35:25 +00:00
Martin Wilke
737d676790 - Update to 4.46
PR:		111985
Submitted by:	Maxim Zakharov <maxime@sochi.net.ru>
2007-04-21 17:39:38 +00:00
Martin Wilke
bc510ad24f - Update to 4.45.1
PR:             110841
Submitted by:   Maxim Zakharov <maxime@sochi.net.ru>
2007-03-26 10:02:33 +00:00
Martin Wilke
38299a36fc - Update to 4.44
PR:		ports/108245
Submitted by:	Maxime Zakharov <maxime@sochi.net.ru> (maintainer)
2007-01-23 16:16:01 +00:00
Martin Wilke
1ccfdf2900 - Update to 4.43
PR:		ports/104933
Submitted by:	Maxime Zakharov <maxime@sochi.net.ru>
2006-11-01 09:52:00 +00:00
Rong-En Fan
71ec3c8534 - Update to 4.42
PR:		ports/102911
Submitted by:	Maxime Zakharov <maxime at sochi.net.ru>
2006-09-06 08:04:41 +00:00
Cheng-Lung Sung
e2f1a39106 - s,INSTALLS_SHLIB,USE_LDCONFIG,g
- these include www/ x11/ x11-clocks/ x11-servers/ x11-themes/ maintained
  by ports@

PR:		ports/101916
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
2006-08-15 01:11:33 +00:00
Martin Wilke
e4ce89a9aa - Update to 4.41
PR:		ports/100753
Submitted by:	Maxime Zakharov <maxime(at)sochi.net.ru>
Approved by:	krion (mentor), maintainer
2006-07-25 11:37:01 +00:00
Pav Lucistnik
2b9852c811 - Update to 4.40.1
PR:		ports/97927
Submitted by:	Maxime Zakharov <maxime@sochi.net.ru>
2006-05-26 17:31:20 +00:00
Pav Lucistnik
53a6286e5e - Update to 4.38
PR:		ports/94575
Submitted by:	Maxime Zakharov <maxime@sochi.net.ru>
2006-03-18 14:23:08 +00:00
Ade Lovett
8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Sam Lawrance
191f937893 Update to 4.37.
PR:		ports/93116
Submitted by:	Maxime Zakharov <maxime@sochi.net.ru> (maintainer)
2006-02-12 01:27:30 +00:00
Clement Laforet
05684b80dd - prepare removal of www/apache2 in favor of www/apache20 for naming
consistency
- add entries in UPDATING (for apache22 too)

PR:		ports/78119
Repocopied by:	marcus
2005-12-04 00:18:15 +00:00
Tim Bishop
3a705e5200 - Update to 4.35
PR:		89882
Submitted by:	Maxime Zakharov <maxime@sochi.net.ru>
Approved by:	clement (mentor)
2005-12-03 19:24:50 +00:00
Pav Lucistnik
0d0547d54d - Add SHA256 2005-11-25 19:02:21 +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
ecea4a7603 Move IDN related ports from devel to dns category:
devel/libidn -> dns/libidn
  devel/p5-Net-LibIDN -> dns/p5-Net-LibIDN

Approved by:	both maintainers
Repocopy by:	marcus
2005-11-12 18:52:22 +00:00
Marcus Alves Grando
9299df7c77 Update to 4.34
PR:		88329
Submitted by:	Maxime Zakharov <maxime@sochi.net.ru>
2005-11-02 02:45:21 +00:00
Sergey Matveychuk
d2f2ed95b1 - Update to 4.33
- Add aspell support (off by default)

PR:		ports/86205
Submitted by:	Maxime Zakharov <maxime@sochi.net.ru>
2005-09-16 11:14:28 +00:00
Sergey Matveychuk
7292d551c1 - Update to 4.32
PR:		ports/84380
Submitted by:	Maxime Zakharov <maxime@sochi.net.ru>
2005-07-31 11:21:19 +00:00
Jean-Yves Lefort
a06b050de0 - Update to 4.31 [1]
- Improve pkg-message

[1]:
PR:		ports/82560
Submitted by:	Maxime Zakharov <maxime@sochi.net.ru>
2005-06-27 16:19:59 +00:00
Oliver Lehmann
6bb41db8de change the libtool version to use from 1.3 to 1.5 2005-06-03 20:18:13 +00:00
David E. O'Brien
c3d8037aeb At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
2005-04-12 03:26:56 +00:00
Michael Johnson
9934cc8832 - Update to 4.29
PR:		ports/78652
Submitted by:	Maxime Zakharov <maxime@sochi.net.ru>
2005-04-11 20:28:36 +00:00
David E. O'Brien
f2fc2d60ae Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
2005-04-11 08:04:41 +00:00
Palle Girgensohn
34fa6c853e Split the postgresql ports into a server and a client part.
All ports depending on postgresql shall use the USE_PGSQL=yes knob
defined in Mk/bsd.ports.mk. Bumping portrevisions where needed.

PR:		75344
Approved by:	portmgr@ (kris), ade & sean (mentors)
2005-01-31 00:35:55 +00:00
Pav Lucistnik
498f79f3e1 - Update to 4.28
PR:		ports/76441
Submitted by:	Maxime Zakharov <maxime@sochi.net.ru>
2005-01-20 00:07:16 +00:00
Norikatsu Shigemura
617938836d Clean up SQLite and related ports.
o Move databases/sqlite to databases/sqlite2.
o Fix dependency on databases/sqlite.
o Update sqlite2 to 2.8.15.
o Bump PORTREVISION, accordingly.

Approved by:	portmgr, maintainers of sqlite and related ports
2004-12-23 08:25:47 +00:00