Date: Thu, 23 Jan 2014 11:10:47 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340822 - head/devel/cdialog Message-ID: <201401231110.s0NBAlFq096710@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Thu Jan 23 11:10:46 2014 New Revision: 340822 URL: http://svnweb.freebsd.org/changeset/ports/340822 QAT: https://qat.redports.org/buildarchive/r340822/ Log: Fix build without ncurses port installed Reported by: olgeni Modified: head/devel/cdialog/Makefile Modified: head/devel/cdialog/Makefile ============================================================================== --- head/devel/cdialog/Makefile Thu Jan 23 10:15:29 2014 (r340821) +++ head/devel/cdialog/Makefile Thu Jan 23 11:10:46 2014 (r340822) @@ -24,13 +24,18 @@ USE_LDCONFIG= yes CONFIGURE_ARGS= --enable-widec \ --includedir=${PREFIX}/include/${PORTNAME} \ --with-libtool \ - --with-curses-dir=${NCURSESBASE} \ --with-ncursesw \ --with-package=${PORTNAME} MAKEFILE= makefile INSTALL_TARGET= install-strip install-man install-lib +.include <bsd.port.pre.mk> + +.if ${NCURSESBASE} != /usr +CONFIGURE_ARGS= --with-curses-dir=${NCURSESBASE} +.endif + post-patch: @${FIND} ${WRKSRC}/samples/ -type f -exec ${REINPLACE_CMD} -i "" "s|dialog|cdialog|g" {} \; @@ -38,4 +43,4 @@ post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/samples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401231110.s0NBAlFq096710>