Commit graph

27 commits

Author SHA1 Message Date
Antoine Brodin
7e870f4606 Fix plist 2014-08-10 18:25:13 +00:00
Adam Weinberger
89e061584a Fix build with clang.
While here, avoid unnecessary bsd.port.options.mk inclusion.
2014-08-09 03:58:37 +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
5fdcbb6457 Remove trailing whitespaces from category net-mgmt 2014-02-21 13:38:46 +00:00
Emanuel Haupt
5005b67362 According to the Porter's Handbook (5.12.2.3.) default options must be added to
OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.

This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.

Approved by:    portmgr (bapt)
2014-02-10 13:54:26 +00:00
Philippe Audeoud
1288c1a14f - support STAGE 2013-12-27 14:47:58 +00:00
Baptiste Daroussin
985b201424 Add NO_STAGE all over the place in preparation for the staging support (cat: net-mgmt) 2013-09-20 22:24:43 +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
bb86cbe5d2 - Get Rid MD5 support 2011-03-20 12:54:45 +00:00
Dmitry Marakasov
535382b891 - Retire MASTER_SITE_SOURCEFORGE_EXTENDED, it's no longer needed - all mirrors actually have all distfiles
- Merge all SF mirrors to MASTER_SITE_SOURCEFORGE, resort according to quick download speed survey
- Fix MASTER_SITES for all port that have used SOURCEFORGE_EXTENTED

Approved by:	portmgr (pav)
2009-09-02 15:01:56 +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
Philippe Audeoud
f856a9ae6e - Update maintainer address
Approved by:	thierry (mentor)
2008-03-12 13:27:28 +00:00
Jean Milanez Melo
f823d24bfd - Update mastersite.
- Pass maintainership to submitter.

PR:		ports/117485
Submitted by:	Philippe Audeoud <jadawin@tuxaco.net>
2007-12-26 12:28:54 +00:00
Pav Lucistnik
d2d527c935 - Add SHA256 2005-11-25 16:56:10 +00:00
Mark Linimon
b81cfbb1d6 Pacify distfile survey. 2005-10-12 18:47:16 +00:00
Kirill Ponomarev
e153524dcb Fix MASTER_SITES. 2005-10-11 12:53:44 +00:00
Kirill Ponomarev
cf5a50e409 Drop maintership. 2005-04-21 17:44:08 +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
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
Kirill Ponomarev
037d6b2cb3 - Remove obsolete MASTER_SITES 2004-06-03 21:30:01 +00:00
Kirill Ponomarev
4ca5311c86 - Add more MASTER_SITES 2004-05-26 14:18:52 +00:00
Kirill Ponomarev
ac713d58f1 - Utilize PLIST_FILES 2004-03-20 18:28:17 +00:00
Garrett Wollman
60aab66567 Say hello to the new "net-mgmt" category. There are probably more
ports that belong here than the ones I have identified and moved in
this, first, pass.

Approved in principle by: marcus
2004-02-23 04:42:13 +00:00
Kirill Ponomarev
5e147280ef - SIZEify 2004-01-30 14:05:15 +00:00
Kirill Ponomarev
755b829414 Update to 1.2
* Added option to fingerprint SYNACK packets
* Added option to output more verbose fingerprint
  info to outfile
* Added a ton of new fingerprints (1214 SYN/SYNACK
  fingerprints)
* Added option to run Disco on interfaces without an assigned
  IP

Approved by:	fjoe (mentor) (implicit)
2003-07-23 13:04:14 +00:00
Kirill Ponomarev
bcadc8453d Change my mail to @FreeBSD.org
Approved by:	fjoe (mentor)
2003-07-22 10:34:12 +00:00
Max Khon
c7a4bdc31c New port: net/disco
IP discovery and fingerprinting utility

PR:		53039
Submitted by:	Kirill Ponomarew
2003-06-09 18:21:48 +00:00