Date: Mon, 19 Aug 2013 15:41:41 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r324999 - head/devel/libpci Message-ID: <201308191541.r7JFffeL017262@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Mon Aug 19 15:41:40 2013 New Revision: 324999 URL: http://svnweb.freebsd.org/changeset/ports/324999 Log: - Use USES=gmake - Update regex Modified: head/devel/libpci/Makefile Modified: head/devel/libpci/Makefile ============================================================================== --- head/devel/libpci/Makefile Mon Aug 19 15:31:30 2013 (r324998) +++ head/devel/libpci/Makefile Mon Aug 19 15:41:40 2013 (r324999) @@ -16,9 +16,10 @@ LICENSE= GPLv2 RUN_DEPENDS= ${LOCALBASE}/share/pciids/pci.ids:${PORTSDIR}/misc/pciids ALL_TARGET= lib/libpci.a +CPPFLAGS+= -fPIC MAKE_ENV= LANG=C -USE_GMAKE= yes USE_LDCONFIG= yes +USES= gmake PLIST_DIRS= include/pci PLIST_FILES= ${LIBPCI_FILES} lib/libpci.so.3 @@ -29,13 +30,7 @@ LIBPCI_FILES= include/pci/config.h inclu post-patch: @${LN} -s . ${WRKSRC}/lib/pci - @${REINPLACE_CMD} \ - -e 's|^CC=.*$$|CC=${CC}|' \ - -e 's|^CFLAGS=|CFLAGS+=|' \ - -e 's|^IDSDIR=.*$$|IDSDIR=${PREFIX}/share/pciids|' \ - -e 's|^OPT=.*$$|OPT=-fPIC|' \ - -e 's|^PREFIX=.*$$|PREFIX=${PREFIX}|' \ - ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e '/^CC=/d; /^CFLAGS=/ s|=|+=|; /^IDSDIR=/ s|$$|/pciids|; /^OPT=/d; /^PREFIX=/d' ${WRKSRC}/Makefile @${REINPLACE_CMD} 's|^#include "|&pci/|' ${WRKSRC}/lib/pci.h post-build:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308191541.r7JFffeL017262>