Index: head/comms/opencbm/Makefile =================================================================== --- head/comms/opencbm/Makefile (revision 538098) +++ head/comms/opencbm/Makefile (revision 538099) @@ -1,74 +1,74 @@ # Created by: Felix Palmen # $FreeBSD$ PORTNAME= opencbm PORTVERSION= ${OCBM_VERSION} CATEGORIES= comms archivers PATCHFILES= 12ef17d4cf78903c9c52d7a348a816424d549b89.diff MAINTAINER= felix@palmen-it.de COMMENT= Commodore CBM serial IEC/IEEE-488 bus utilities LICENSE= GPLv2 BSD3CLAUSE LICENSE_COMB= multi BUILD_DEPENDS= cc65:devel/cc65 USES= gmake USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS INFO OPTIONS_DEFAULT= DOCS INFO -MAKE_ARGS= CC=cc INFODIR=${PREFIX}/share/info +MAKE_ARGS= CC="${CC}" INFODIR=${PREFIX}/${INFO_PATH} MAKEFILE= LINUX/Makefile MAKE_JOBS_UNSAFE= yes ALL_TARGET= opencbm plugin-xu1541 plugin-xum1541 INSTALL_TARGET= install install-plugin-xu1541 install-plugin-xum1541 DOCS_BUILD_DEPENDS= dvips:print/tex-dvipsk \ latex:print/tex-formats \ linuxdoc:textproc/linuxdoc-tools DOCS_USES= ghostscript:build DOCS_ALL_TARGET= doc DOCS_MAKE_ARGS_OFF= TXT= DVI= PDF= HTML= INFO_BUILD_DEPENDS= linuxdoc:textproc/linuxdoc-tools INFO_USES= makeinfo INFO_ALL_TARGET= doc INFO_INFO= opencbm INFO_MAKE_ARGS_OFF= INFO= OCBM_CONFDIR= ${LOCALBASE}/etc/opencbm.conf.d post-patch: @${REINPLACE_CMD} -e 's|_ETC="$$1"|_ETC="$${1:-${LOCALBASE}/etc}"|' \ -e 's|in /.*/ instead|in ${OCBM_CONFDIR}/ instead|' \ -e "s|execute 'opencbm_|execute '|" \ ${WRKSRC}/opencbm/LINUX/plugin_helper_tools post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopencbm.so.${OCBM_LIBVERSION} .for p in xu1541 xum1541 ${STRIP_CMD} ${STAGEDIR}${PLUGINBASENAME}${p}.so.${OCBM_LIBVERSION} .endfor @${RM} ${STAGEDIR}${PREFIX}/etc/opencbm.conf @${MV} ${STAGEDIR}${PREFIX}/etc/opencbm.conf.d/00opencbm.conf \ ${STAGEDIR}${PREFIX}/etc/opencbm.conf.d/00opencbm.conf.sample @${MV} ${STAGEDIR}${PREFIX}/bin/opencbm_plugin_helper_tools \ ${STAGEDIR}${PREFIX}/sbin/opencbm_plugin_helper_tools post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/opencbm/docs && \ ${COPYTREE_SHARE} "html misc opencbm.pdf opencbm.txt" \ ${STAGEDIR}${DOCSDIR}) post-install-INFO-on: ${INSTALL_MAN} ${WRKSRC}/opencbm/docs/opencbm.info \ ${STAGEDIR}${PREFIX}/${INFO_PATH} .include "Makefile.inc" .include Index: head/comms/opencbm/Makefile.inc =================================================================== --- head/comms/opencbm/Makefile.inc (revision 538098) +++ head/comms/opencbm/Makefile.inc (revision 538099) @@ -1,20 +1,22 @@ # Created by: Felix Palmen # $FreeBSD$ OCBM_VERSION= 0.4.99.99a DISTVERSIONPREFIX= v DIST_SUBDIR= opencbm DISTINFO_FILE= ${.CURDIR}/../opencbm/distinfo PATCH_DIST_STRIP= -p1 PATCH_SITES= https://github.com/OpenCBM/OpenCBM/commit/ USE_GITHUB= yes GH_ACCOUNT= OpenCBM GH_PROJECT= OpenCBM PATCHDIR= ${.CURDIR}/../opencbm/files PATCH_WRKSRC= ${WRKDIR}/OpenCBM-${OCBM_VERSION} +MAKE_ENV= USER_CFLAGS="${CFLAGS}" + OCBM_LIBVERSION= 0.4.99.99 PLUGINBASENAME= ${PREFIX}/lib/opencbm/plugin/libopencbm- Index: head/comms/opencbm-plugin-xa1541/Makefile =================================================================== --- head/comms/opencbm-plugin-xa1541/Makefile (revision 538098) +++ head/comms/opencbm-plugin-xa1541/Makefile (revision 538099) @@ -1,36 +1,36 @@ # Created by: Felix Palmen # $FreeBSD$ PORTNAME= opencbm-plugin-xa1541 PORTVERSION= ${OCBM_VERSION} CATEGORIES= comms archivers PATCHFILES= 12ef17d4cf78903c9c52d7a348a816424d549b89.diff \ ca4c06e7430caf3b2296d4e1e00051fff015fc53.diff MAINTAINER= felix@palmen-it.de COMMENT= OpenCBM plugin for parallel-port cables LICENSE= GPLv2 BUILD_DEPENDS= cc65:devel/cc65 RUN_DEPENDS= opencbm=${PORTVERSION}:comms/opencbm \ opencbm-kmod=${PORTVERSION}:comms/opencbm-kmod USES= gmake USE_LDCONFIG= yes -MAKE_ARGS= CC=cc SUBDIRS_PLUGIN_XA1541=opencbm/lib/plugin/xa1541 +MAKE_ARGS= CC="${CC}" SUBDIRS_PLUGIN_XA1541=opencbm/lib/plugin/xa1541 MAKEFILE= LINUX/Makefile MAKE_JOBS_UNSAFE= yes ALL_TARGET= plugin-xa1541 INSTALL_TARGET= install-plugin-xa1541 post-install: ${STRIP_CMD} ${STAGEDIR}${PLUGINBASENAME}xa1541.so.${OCBM_LIBVERSION} @${RM} ${STAGEDIR}${PREFIX}/etc/opencbm.conf.d/00opencbm.conf @${RM} ${STAGEDIR}${PREFIX}/etc/opencbm.conf .include "../opencbm/Makefile.inc" .include