f519976002
- use PTHREAD_LIBS instead of -lpthread - try to guess kernel sources based on SYSDIR (used by bsd.kmod.mk) or SRC_BASE (used by ports like virtualbox and kqemu) - use KMODDIR in plist, too - I don't think SUB_FILES needs to be *after* bsd.port.pre.mk - inherit DEBUG_FLAGS from make.conf, not only from command line - mimic bsd.kmod.mk in installing .symbols file and add entry to plist PR: ports/147898 Submitted by: Anonymous <swell.k@gmail.com> Approved by: Kai Wang <kaiwang27@gmail.com> (maintainer)
10 lines
417 B
Text
10 lines
417 B
Text
%%PL_DEVD%%@unexec if cmp -s %D/etc/devd/uhidd-devd.conf.sample %D/etc/devd/uhidd-devd.conf; then rm -f %D/etc/devd/uhidd-devd.conf; fi
|
|
%%PL_DEVD%%etc/devd/uhidd-devd.conf.sample
|
|
%%PL_DEVD%%@exec if [ ! -f %D/etc/devd/uhidd-devd.conf ]; then mkdir -p %B; cp -p %D/%F %B/uhidd-devd.conf; fi
|
|
%%PL_DEVD%%@dirrmtry etc/devd
|
|
sbin/uhidd
|
|
@cwd %%KMODDIR%%
|
|
uvhid.ko
|
|
@rmtry uvhid.ko.symbols
|
|
@exec kldxref %D
|
|
@unexec kldxref %D
|