FreeBSD Bugzilla – Attachment 145619 Details for
Bug 192556
[patch] Convert XCWCP to an option for comms/unixcw
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch described above
patch-unixcw.diff (text/plain), 2.07 KB, created by
Kevin Zheng
on 2014-08-10 18:35:25 UTC
(
hide
)
Description:
Patch described above
Filename:
MIME Type:
Creator:
Kevin Zheng
Created:
2014-08-10 18:35:25 UTC
Size:
2.07 KB
patch
obsolete
>diff --git a/comms/unixcw/Makefile b/comms/unixcw/Makefile >index a3b1a72..45fcea6 100644 >--- a/comms/unixcw/Makefile >+++ b/comms/unixcw/Makefile >@@ -11,33 +11,30 @@ MAINTAINER= db@FreeBSD.org > COMMENT= Libs for cw on unix > > LICENSE= GPLv2 >+LICENSE_FILE= ${WRKSRC}/COPYING > > GNU_CONFIGURE= yes >+USES= gmake libtool >+USE_CSTD= gnu99 >+USE_LDCONFIG= yes >+ > CONFIGURE_ARGS+= --includedir="${LOCALBASE}/include" \ > --libdir="${LOCALBASE}/lib" \ > --disable-alsa --disable-pulseaudio > >-.if defined(WITH_XCWCP) >-USE_QT4= gui moc_build qmake_build rcc_build uic_build designer >-USE_AUTOTOOLS= autoconf >-PLIST_SUB+= XCWCP="" >-CONFIGURE_ARGS+= --enable-xcwcp >-.else >-PLIST_SUB+= XCWCP="@comment " >-CONFIGURE_ARGS+= --disable-xcwcp >-.endif >-USE_LDCONFIG= yes >-USES= gmake libtool >-USE_CSTD= gnu99 > WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} > >-pre-extract: >-.if !defined(WITH_XCWCP) >- @${ECHO_CMD} >- @${ECHO_CMD} "****** To build xcwcp, interrupt the build ******" >- @${ECHO_CMD} "****** now, set WITH_XCWCP and start again. ******" >- @${ECHO_CMD} >- @sleep 3 >+OPTIONS_DEFINE= XCWCP >+OPTIONS_SUB= yes >+ >+XCWCP_DESC= Qt interface >+XCWCP_CONFIGURE_ENABLE= xcwcp >+ >+.include <bsd.port.options.mk> >+ >+.if ${PORT_OPTIONS:MXCWCP} >+USE_QT4= gui moc_build qmake_build rcc_build uic_build designer >+USE_AUTOTOOLS= autoconf > .endif > > .include <bsd.port.mk> >diff --git a/comms/unixcw/pkg-descr b/comms/unixcw/pkg-descr >index 61d02a4..5ea9102 100644 >--- a/comms/unixcw/pkg-descr >+++ b/comms/unixcw/pkg-descr >@@ -13,4 +13,4 @@ offers the following basic CW services to a caller program: > o An iambic keyer, with both Curtis 8044 types A and B timing > o Straight key emulation > >-WWW: http://www.ibiblio.org/pub/linux/apps/ham/morse/ >+WWW: http://unixcw.sourceforge.net/ >diff --git a/comms/unixcw/pkg-plist b/comms/unixcw/pkg-plist >index 9bbf5fc..639243b 100644 >--- a/comms/unixcw/pkg-plist >+++ b/comms/unixcw/pkg-plist >@@ -12,6 +12,6 @@ libdata/pkgconfig/libcw.pc > man/man1/cw.1.gz > man/man1/cwgen.1.gz > man/man1/cwcp.1.gz >-%%XCWCP%%/man/man1/xcwcp.1.gz >+%%XCWCP%%man/man1/xcwcp.1.gz > man/man3/libcw.3.gz > man/man7/cw.7.gz
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 192556
: 145619