Commit graph

15 commits

Author SHA1 Message Date
Mathieu Arnold
88bfe4bd43 Cleanup DIST* variables.
When appropriate:
- Try to use DISTVERSION{SUF,PRE}FIX
- Replace PORTNAME-PORTVERSION by DISTNAME
- Convert MASTER_SITES to use macros
- Other light cleanup

With hat:	portmgr
Sponsored by:	Absolight
2015-05-11 18:34:57 +00:00
Dmitry Marakasov
5a79403cbf - Fix shebangs
Approved by:	portmgr blanket
MFH:		2015Q2
2015-05-07 22:47:58 +00:00
Rene Ladan
659b67bba3 - Support stage
- Include bsd.port.mk once
- Remove comment from myself about KMODDIR

Approved by:	portmgr (infrastructure blanket)
2014-01-26 19:22:46 +00:00
Rene Ladan
bfc52e7104 Convert to USES=kmod, which removes duplicated code and ensures that all
required steps are followed.

There are no user-visible changes.  The exception is multimedia/ptx-kmod,
which now installs the kernel module into /boot/modules instead of
${PREFIX}/libexec/${PORTNAME}, this was something USES=kmod cannot handle.

PR:		ports/183625
Submitted by:	myself
Approved by:	portmgr (bdrewery)
Exp-run by:	bdrewery
2013-11-09 19:13:27 +00:00
Baptiste Daroussin
855fb638fb Add NO_STAGE all over the place in preparation for the staging support (cat: multimedia) 2013-09-20 20:57:48 +00:00
Bryan Drewery
c93dfc2e9f SSP support has been added to ports with WITH_SSP for i386 and amd64
on FreeBSD 10, and amd64 on earlier versions.

SSP_UNSAFE is added to disable in a port if it fails to build, but
this should only be used in rare circumstances such as kernel modules.
Otherwise, the port may just be failing due to lack of respecting
LDFLAGS.

On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
libssp_nonshared.a to address issues linking on i386 [1].

On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared
to LDFLAGS on i386. This is not needed on amd64. However, several hundred
ports do not currently respect LDFLAGS, so this support is disabled currently
as it causes build failures if a dependency is looking for the stack_chk
symbols.

Many thanks to jlh@ for this as he had many years of patience in getting
all of the necessary pieces [1][2] in.

[1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup

PR:		ports/138228 [2]
Submitted by:	jlh (bsd.ssp.mk based on)
Reviewed by:	bapt
With hat:	portmgr
exp-runs done:	37 over a month on 91i386,91amd64,10i386,10amd64
2013-09-20 12:54:54 +00:00
Hiroki Sato
d90c542178 - Trim old-style header.
- Use OPTIONS_DEFINE.
2013-05-03 19:10:39 +00:00
Doug Barton
9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00
Hiroki Sato
69f2c4c57e Add kld to CATEGORIES.
Submitted by:	Masaki TAGAWA
PR:		ports/169368
2012-06-25 10:53:29 +00:00
Hiroki Sato
6bff53e0f6 Style fix: include bsd.port.pre.mk before using SRC_BASE.
Submitted by:	jgh
PR:		ports/169214
2012-06-20 07:48:18 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Hiroki Sato
a5aa69b9d8 Update to 20111212. Patches in up0310 and up0345 have been merged. 2012-01-08 20:38:47 +00:00
Hiroki Sato
5e9e0b6295 Fix build on 7.x.
Reported by:	pav
2011-07-17 22:04:26 +00:00
Pav Lucistnik
8e4c929ec1 - Mark BROKEN on 7.X: does not compile
ptx_proc.c:84: error: too few arguments to function 'kthread_exit'

Reported by:	pointyhat
2011-07-17 21:37:10 +00:00
Hiroki Sato
18774eff9a Add multimedia/ptx-kmod, a device driver for PT1 and PT2, ISDB-S/ISDB-T tuner
cards from Earth Soft.
2011-07-03 16:47:58 +00:00