Commit graph

43 commits

Author SHA1 Message Date
Diane Bruce
9a22bc1933 Fix linrad on latest gcc
I checked linrad upstream, and they still haven't fixed these two bugs.  I am surprised they haven't been reported yet.  Without these fixes, linrad cannot be built with gcc5.

the menu.c patch simply reverses the order of the condition.  One must check the bounds constraint first!  It's a pretty dumb mistake but I've seen this kind before.

The second one fails because -Werror is set.  This took me a while because I couldn't figure out the relationship between ADCHANS and rxchan.  In any case, setting 4 locations per channel did indeed allow the array to be big enough.  (at first I thought the loop was running too high, but I finally determined the array was too small).

These were found on DragonFly that uses gcc5.

This patch has not been tested on FreeBSD but I can't how it could possibly fail.

It would be good if the ham@ maintainer reports the issue upstream.

Updated patch files using make makepatch

PR:			ports/199737
Submitted by:		marino
2015-05-01 16:25:48 +00:00
Mathieu Arnold
0438143249 Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true,
as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107).

Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when
it is always needed, I renamed it, in one case, I merged two patches.

Differential Revision:	https://reviews.freebsd.org/D2209
2015-04-03 11:26:48 +00:00
John Marino
f4d2e9d5d0 2 ports categories: Remove $PTHREAD_LIBS
Categories: net-p2p, comms

Note that qrq was not properly staged, it failed stage-QA.
aprsd failed check-plist; it had a plist orphan.  Now it fails stage-QA
with a fs violation, but it may be acceptable.  Fixes added to both.

approved by:	PTHREAD blanket
2015-03-24 23:45:41 +00:00
Pawel Pekala
72fd8dd06a Fix detection of libportaudio libraries
PR:		196427
Submitted by:	myself
Approved by:	hselasky, stephen, marcus, maintainer timeout from others
2015-01-25 00:46:11 +00:00
Stephen Hurd
2e75709376 Disable ALSA test completely. When the ALSA lib wasn't detected, was still
trying to link with libalsa.so.  When it was detected, resulted in linking
with a non-dependant lib.

If there is enough demand, I can add OPTS for ALSA vs portaudio etc, but for
now just a hard dependency on portaudio will be enough.
2014-12-09 18:56:18 +00:00
Stephen Hurd
68e63469ae Update to 4.02 and fix build errors with clang 5
Linrad-04.02 comes with many improvements. The first FFT can now run in
parallel in up to 6 separate threads.  More efficient FFT implementations
are available for some hardware architectures.
The converter option is corrected.
Several bug corrections.
2014-12-08 11:20:39 +00:00
Baptiste Daroussin
2c8db67726 Cleanup plist 2014-10-20 09:31:33 +00:00
Kurt Jaeger
e2b64beb51 devel/libftdi: USES=libtool, fix build, bump dependencies
comms/linrad
comms/lirc
devel/urjtag
devel/openocd
sysutils/lcdproc
sysutils/flashrom

devel/xc3sprog is already bumped via PR 188055
2014-08-03 11:36:56 +00:00
Antoine Brodin
6d291071de Fix LIB_DEPENDS 2014-07-20 19:10:47 +00:00
Adam Weinberger
78edb12293 Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS. 2014-07-15 15:03:23 +00:00
Stephen Hurd
8110f34eff STAGEify and update to 4.00
Portaudio support
Improved AGC
Voice squelch
Spur removal
Support for the rtlsdr library

Reviewed by:	db, skreuzer
Approved by:	db, skreuzer (mentors)
2014-07-01 18:28:17 +00:00
Martin Wilke
a471bc15e4 - Convert USE_GMAKE/USE_BZIP2 to USES 2014-03-13 08:18:38 +00:00
Adam Weinberger
fbd9122a40 Convert comms to MDOCS and MEXAMPLES.
Hold-out shame list: perl
2014-01-03 16:06:00 +00:00
Baptiste Daroussin
2b300eeb3f Add NO_STAGE all over the place in preparation for the staging support (cat: comms) 2013-09-20 16:03:29 +00:00
Doug Barton
2b1dacc826 Remove more tags from pkg-descr files fo the form:
- Name
em@i.l

or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.
2011-10-24 04:17:37 +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
Diane Bruce
b4bcd1ab92 - Update to 3.08 linrad
- remove patches for code accepted upstream
2009-10-13 14:41:33 +00:00
Diane Bruce
2224ba3107 - Update to 3.03 2009-03-26 13:54:46 +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
Diane Bruce
407d504e80 - Update to 2.49
- Vendor has fixed lsetad.c so patch no longer necessary.
2008-08-04 17:08:51 +00:00
Diane Bruce
8b5e89a9db - Update to 2.48 2008-07-25 16:33:31 +00:00
Martin Wilke
3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00
Pav Lucistnik
a426c124f5 - Correct previous commit
Pointy hat to:	db
2008-03-23 10:35:22 +00:00
Diane Bruce
8303224d46 - Add virtual category hamradio. 2008-03-22 17:55:49 +00:00
Diane Bruce
e3997ca799 - Update to 2.43
- Make portlint happy
- Remove unecessary sed
2008-03-18 15:55:06 +00:00
Diane Bruce
ef1f3bff69 - Update to 2.4 2007-12-19 00:34:41 +00:00
Diane Bruce
34bbe66dd2 - Update to 2.38 2007-09-28 02:23:00 +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
Diane Bruce
a23d0bf818 - update to 2.34
Approved:	ehaupt (mentor)
2007-07-10 16:41:16 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Diane Bruce
9ce19b5e36 - Update version to 2.28
- Remove support for 4.x
- Tidy up Makefile a bit

Approved by:	ehaupt (mentor)
2007-04-23 21:28:04 +00:00
Diane Bruce
bc31ab75ff - update to latest
- clean up DOCS install

Approved:       ehaupt (mentor)
2007-02-27 17:06:35 +00:00
Diane Bruce
a568ef0024 Change my MAINTAINER: line in Makfile to db@FreeBSD.org
fix simple typo in xwota Makefile while at it.

Approved by:	ehaupt (mentor)
2007-01-19 18:14:20 +00:00
Frank J. Laszlo
6550a5cf42 1) Update to version 2.20
2) Respect X11BASE

PR:		ports/106247
Submitted by:	Diane Bruce <db@db.net> (maintainer)
2006-12-03 23:21:04 +00:00
Ion-Mihai Tetcu
7bb7a11c66 - fixed dup site in MASTER_SITES
- fixes from upstream until 2.18 is ready

PR:		ports/103175
Submitted by:	Diane Bruce (maintainer)
2006-09-12 08:14:22 +00:00
Ion-Mihai Tetcu
9370141203 - Update to 2.17
Added file(s):
- files/linrad
- pkg-message
Removed file(s):
- files/patch-lmain.c
- files/patch-settx.c

- BROKEN on 4

PR:		ports/103002
Submitted by:	Diane Bruce (maintainer)
2006-09-08 22:52:37 +00:00
Shaun Amott
26087e2d3c - Update to 2.14
- Limit to i386

PR:		ports/99235
Submitted by:	Diane Bruce <db@db.net> (maintainer)
Approved by:	ahze (mentor)
2006-07-01 16:45:02 +00:00
Edwin Groothuis
bbee4a66a6 remove USE_REINPLACE for all ports with categories starting with C 2006-05-03 23:38:41 +00:00
Kirill Ponomarev
01c588a635 - Fix 'all-depends-list' target in cases if dependencies list is
very long and if some dependencies can't be added into the list.
  [1]

- Fix FAM support.  Make gamin the default FAM system. [2]

- Introduce new 'quicksearch' target to show only port, path and
  info section of the matching ports. [3]

- Introduce new category - rubygems. [4]

- Fix stale dependencies while installing qmail slaveport and
  another port that depends on qmail. [5]

- Add commentary for describes target in bsd.port.mk. [6]

- Fix warning issued during make index on archs !368. [7]

- Add USE_DOS2UNIX variable.  If set to "YES", remove the ^M from
  all files under ${WRKSRC}. If set to a string, remove in all files
  under ${WRKSRC} with one of these names the ^Ms. [8]

- Add new variables PERL_RUN_DEPENDS and PERL_BUILD_DEPENDS by
  checking the existance of the Perl modules with the "perl -e 'use
  module;'" command. [9]

- Fix bsd.port.mk variable quoting issues.  No quoting is necessary
  anymore either in the Makefile or on the command line.  Affected
  variables include:

  BROKEN
  FORBIDDEN
  IGNORE
  MANUAL_PACKAGE_BUILD
  NO_CDROM
  NO_PACKAGE
  RESTRICTED

  [10]

- Add NOFETCHFILES variable.  If set, don't download these files
  from the ${MASTER_SITES} or ${MASTER_SITE_BACKUP} (but do from
  ${MASTER_SITE_OVERRIDE}). [11]

- Improve 'search' target output. [12]

- Add a new virtual category for Amateur Radio - hamradio. [13]

- Cleanup some old/unused pathes in bsd.port.mk. [14]

- Add @dirrmtry for plists which does the same as:
  "@unexec rmdir %D/foo 2>/dev/null || true" [15]

- Remove virtual category - offix. [16]

- Use portsnap instead of cvsup or cvs on "make update" in
  /usr/ports. [17]

- Move location of bsd.autotools.mk within bsd.port.mk [18]

- Add bsd.linux-rpm.mk, fix INSTALLS_SHLIB for Linux ports [19]

- Use new USE_RC_SUBR format for FreeBSD version >= 700007 [20]

- Replace the string "FreeBSD" by "The FreeBSD Project" in the
  security warning [21]

- Add bsd.local.mk for local modification to ports framework. [22]

- Replace rcNG spelling by rc.d [23]

- Remove superfluous USE_REINPLACE. [24]

Special thanks to:      linimon for spending hours with all these patches
                        clement for fixes
                        kris for help with pointyhat
PR:     ports/86310 [1], ports/89498 [2], ports/83530 [3],
        ports/83789 [4], ports/84053 [5], ports/86281 [6],
        ports/87214 [7], ports/87234 [8], ports/87318 [9],
        ports/87396 [10], ports/87605 [11], ports/87840 [12],
        ports/88230 [13], ports/88493 [14], ports/88711 [15],
        ports/88751 [16], ports/89281 [17], ports/89999 [18],
        ports/90031 [19], ports/90150 [20], ports/90668 [21],
        ports/91433 [23], ports/88754 [24]
Submitted by:   mi [1], marcus [2], Lars Engels <lars.engels@0x20.net> [3],
                pav [4, 16, 20, 24], garga [5], cperciva [6], vd [7],
                edwin [8, 9, 11, 15, 21],
                fenner [10], Arseny Nasokin <tarc.po.cs.msu.su@tarc.po.cs.msu.su> [12],
                Carl Makin <carl@stagecraft.cx> [13], arved [14],
                NIIMI Satoshi <sa2c@sa2c.net> [17], thierry [18],
                jylefort [19], linimon [22], dougb [23]
2006-01-21 17:37:14 +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
Marcus Alves Grando
9b1b180f5e Respect LOCALBASE
Add SHA256

PR:		88891
Submitted by:	Diane Bruce <db@db.net> (maintainer)
2005-11-13 03:42:59 +00:00
Pav Lucistnik
004697d45d Add linrad, Amateur Radio DSP utility (SDR)
PR:		ports/68873
Submitted by:	Diane Bruce <db@heceta.db.net>
2004-07-14 16:09:39 +00:00