pkgsrc/net/rp-pppoe/Makefile
is 72cb1a8bcc rp-pppoe couldn't find the interfaces' Ethernet address with the old
code, as this used the NetBSD<5-style variable effective ifreq length.
The patched code works in old and new compilation environments. Patch
optimized by gimpy@.
2012-08-23 13:10:52 +00:00

37 lines
906 B
Makefile

# $NetBSD: Makefile,v 1.40 2012/08/23 13:10:52 is Exp $
DISTNAME= rp-pppoe-3.8
PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.roaringpenguin.com/files/download/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.roaringpenguin.com/products/pppoe
COMMENT= Roaring Penguin's PPP over Ethernet client
PKG_DESTDIR_SUPPORT= user-destdir
NOT_FOR_PLATFORM+= Interix-*-* # no userland protocol stack support
CONFLICTS+= mouse_pppoe<20000912nb1
USE_TOOLS+= id
GNU_CONFIGURE= YES
CONFIGURE_DIRS= src
CONFIGURE_ENV+= PPPD=${PPPD:Q}
CONFIGURE_ENV+= ID=${TOOLS_ID:Q}
MAKE_ENV+= OPSYS=${OPSYS}
BUILD_DIRS= src
RCD_SCRIPTS= pppoe
INSTALLATION_DIRS+= share/examples/rp-pppoe
INSTALL_MAKE_FLAGS+= RPM_INSTALL_ROOT=${DESTDIR}
post-install:
cd ${WRKSRC}/configs && \
${INSTALL_DATA} pppoe.conf pppoe-server-options \
${DESTDIR}${PREFIX}/share/examples/rp-pppoe
.include "../../mk/bsd.pkg.mk"