Index: head/misc/dahdi/Makefile =================================================================== --- head/misc/dahdi/Makefile (revision 423297) +++ head/misc/dahdi/Makefile (revision 423298) @@ -1,42 +1,43 @@ # Created by: Maxim Khon # $FreeBSD$ PORTNAME= dahdi PORTVERSION= ${DAHDI_VERSION:S/-//g} -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= misc MASTER_SITES= LOCAL/fjoe DISTNAME= ${PORTNAME}-freebsd-complete-${DAHDI_VERSION}+${DAHDI_TOOLS_VERSION} MAINTAINER= fjoe@FreeBSD.org COMMENT= DAHDI userland utilities and libraries LIB_DEPENDS= libnewt.so:devel/newt DAHDI_VERSION= 2.4.0-rc5 DAHDI_TOOLS_VERSION= 2.4.0-rc1 GNU_CONFIGURE= yes USES= gmake CONFIGURE_ARGS= --with-dahdi=../freebsd --sysconfdir=${PREFIX}/etc --with-newt=${LOCALBASE} CONFIGURE_ENV= WGET=/usr/bin/fetch WRKSRC= ${WRKDIR}/${DISTNAME}/tools PATCH_WRKSRC= ${WRKDIR}/${DISTNAME} USE_LDCONFIG= yes +MAKE_ENV= HOST_CC=${CC} CONFLICTS= zaptel-[0-9]* post-patch: @${REINPLACE_CMD} -e 's,/etc,${PREFIX}/etc,g'\ ${WRKSRC}/dahdi_cfg.c ${WRKSRC}/fxotune.c\ ${WRKSRC}/doc/dahdi_cfg.8 ${WRKSRC}/doc/fxotune.8 post-install: @${ECHO_CMD} "==> Installing dahdi-kmod userland includes" @${MKDIR} ${STAGEDIR}${PREFIX}/include/dahdi/compat @for i in `${MAKE} -C ${WRKSRC}/../freebsd/freebsd/dahdi -DPRINT_INCS -V INCS`; do\ ${ECHO_CMD} "Installing $$i";\ ${INSTALL_DATA} ${WRKSRC}/../freebsd/include/dahdi/$$i ${STAGEDIR}${PREFIX}/include/dahdi/$$i;\ done .include Index: head/misc/dahdi/files/patch-tools-dahdi_monitor.c =================================================================== --- head/misc/dahdi/files/patch-tools-dahdi_monitor.c (nonexistent) +++ head/misc/dahdi/files/patch-tools-dahdi_monitor.c (revision 423298) @@ -0,0 +1,10 @@ +--- tools/dahdi_monitor.c.orig 2016-10-04 19:57:19.085982000 +0000 ++++ tools/dahdi_monitor.c 2016-10-04 19:57:34.349843000 +0000 +@@ -368,6 +368,7 @@ + + chan = atoi(argv[1]); + ++ optind = 2; + while ((opt = getopt(argc, argv, "vmol:f:r:t:s:F:R:T:S:")) != -1) { + switch (opt) { + case '?': Property changes on: head/misc/dahdi/files/patch-tools-dahdi_monitor.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/misc/dahdi/files/patch-tools-menuselect-Makefile =================================================================== --- head/misc/dahdi/files/patch-tools-menuselect-Makefile (nonexistent) +++ head/misc/dahdi/files/patch-tools-menuselect-Makefile (revision 423298) @@ -0,0 +1,11 @@ +--- tools/menuselect/Makefile.orig 2016-10-04 19:53:16.199527000 +0000 ++++ tools/menuselect/Makefile 2016-10-04 19:53:31.943912000 +0000 +@@ -64,7 +64,7 @@ + $(OBJS) $(C_OBJS) $(N_OBJS) $(G_OBJS) $(M_OBJS): autoconfig.h menuselect.h + + makeopts autoconfig.h: autoconfig.h.in makeopts.in +- @./configure $(CONFIGURE_SILENT) CC= LD= AR= CFLAGS= ++ @./configure $(CONFIGURE_SILENT) CC=${CC} LD= AR= CFLAGS= + + $(ALL_TGTS): mxml/libmxml.a + Property changes on: head/misc/dahdi/files/patch-tools-menuselect-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property