mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
b3a65359bc
Currently wmwifi doesn't start on amd64 and simply fails with wmwifi: No wireless interface found! The code assumes that sizeof(int) == sizeof(size_t) which isn't the case on amd64 (and other architectures) and all sysctl() calls will fail because of it. While here: - Fix a build failure when automake+autoconf are installed in the build environment. By patching configure.in the build wants to regenerate configure which doesn't work correctly: gmake[1]: Entering directory '/usr/ports/net/wmwifi/work/wmwifi-0.4-bsd' cd . && aclocal aclocal-1.15: warning: autoconf input should be named 'configure.ac', not 'configure.in' /usr/local/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF /usr/local/share/aclocal/gdk-pixbuf.m4:12: run info Automake 'Extending aclocal' /usr/local/share/aclocal/gdk-pixbuf.m4:12: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal cd . && automake --gnu Makefile automake-1.15: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:3: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:3: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:6: error: required file './compile' not found configure.in:6: 'automake --add-missing' can install 'compile' gmake[1]: *** [Makefile:82: Makefile.in] Error 1 gmake[1]: Leaving directory '/usr/ports/net/wmwifi/work/wmwifi-0.4-bsd' *** Error code 1 Remove files/patch-configure.in and pass CFLAGS through CONFIGURE_ENV instead. - Add LICENSE, LICENSE_FILE - Add missing dependency on libXext [1] https://forums.freebsd.org/threads/61981/ PR: 221531 Reported by: forester on the FreeBSD forums [1] Approved by: uqs (maintainer) MFH: 2017Q3
27 lines
511 B
Makefile
27 lines
511 B
Makefile
# Created by: Ulrich Spoerlein <uspoerlein@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= wmwifi
|
|
PORTVERSION= 0.4
|
|
DISTVERSIONSUFFIX=-bsd
|
|
PORTREVISION= 5
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://digitalssg.net/debian/ \
|
|
LOCAL/uqs
|
|
|
|
MAINTAINER= uqs@FreeBSD.org
|
|
COMMENT= Dockapp displaying the signal strength of WiFi connection
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= gmake localbase
|
|
USE_XORG= x11 xext xpm
|
|
|
|
CONFIGURE_ENV= X_CFLAGS="${CFLAGS}"
|
|
GNU_CONFIGURE= yes
|
|
|
|
PLIST_FILES= bin/wmwifi
|
|
|
|
.include <bsd.port.mk>
|