diff options
-rw-r--r-- | ham/gnuradio-core/Nocore.mk | 28 | ||||
-rw-r--r-- | ham/gnuradio-core/PLIST.Darwin | 3 |
2 files changed, 19 insertions, 12 deletions
diff --git a/ham/gnuradio-core/Nocore.mk b/ham/gnuradio-core/Nocore.mk index 83e36eb7f75..c07eefb5f0a 100644 --- a/ham/gnuradio-core/Nocore.mk +++ b/ham/gnuradio-core/Nocore.mk @@ -1,4 +1,4 @@ -# $NetBSD: Nocore.mk,v 1.4 2014/10/28 16:59:33 mef Exp $ +# $NetBSD: Nocore.mk,v 1.5 2015/01/27 06:03:17 dbj Exp $ # Default list for reducing PLIST PLIST_MINUS= core DEPENDS+= gnuradio-core-[0-9]*:../../ham/gnuradio-core @@ -10,15 +10,19 @@ post-install: # Take care CONF_FILES stuff ${MV} ${DESTDIR}${PREFIX}/etc/gnuradio/conf.d/* \ ${DESTDIR}${PREFIX}/${EGDIR}/ -# to avoid sh: /bin/rm: argument list too long in case repeated.. - ${RM} -f ${WRKDIR}/.PLIST.minus; - for i in ${PLIST_MINUS} ; do \ - sed -e 's,$${PYSITELIB},${PYSITELIB},' \ + for i in ${PLIST_MINUS} ; do \ + for p in PLIST PLIST.${OPSYS} ; do \ + f="${PKGDIR}/../../ham/gnuradio-$${i}/$${p}"; \ + if [ -f "$${f}" ]; then \ + ${SED} -e 's,$${PYSITELIB},${PYSITELIB},' \ -e 's,$${PKGVERSION},${PKGVERSION_NOREV},' \ - -e '/^@comment/d' \ - -e '/^@pkgdir/d' \ - ${PKGDIR}/../../ham/gnuradio-$$i/PLIST \ - >> ${WRKDIR}/.PLIST.minus; \ - done; \ - (cd ${WRKDIR}/.destdir/${PREFIX}; \ - ${RM} -f `cat ${WRKDIR}/.PLIST.minus` ); + -e '/^@comment/d' \ + -e '/^@pkgdir/d' \ + "$${f}"; \ + fi \ + done \ + done \ + | ${AWK} ${_PLIST_SHLIB_AWK} \ + > ${WRKDIR}/.PLIST.minus; + (cd ${WRKDIR}/.destdir/${PREFIX}; \ + ${RM} -f $$(cat ${WRKDIR}/.PLIST.minus) ); diff --git a/ham/gnuradio-core/PLIST.Darwin b/ham/gnuradio-core/PLIST.Darwin new file mode 100644 index 00000000000..74207f02526 --- /dev/null +++ b/ham/gnuradio-core/PLIST.Darwin @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST.Darwin,v 1.1 2015/01/27 06:03:17 dbj Exp $ +include/gnuradio/audio/osx_impl.h +share/examples/gnuradio/conf.d/gr-audio-osx.conf |