Make bundle git respect CFLAGS/LDFLAGS
Alway build the bundle git without gettext fix plist sort plist PR: ports/179257 Submitted by: John Marino <draco@marino.st>
This commit is contained in:
parent
05a530bf23
commit
98633b28e4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=319767
2 changed files with 12 additions and 9 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= cgit
|
||||
PORTVERSION= 0.9.2
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= devel www
|
||||
MASTER_SITES= http://git.zx2c4.com/cgit/snapshot/:cgit \
|
||||
GOOGLE_CODE:git
|
||||
|
@ -23,7 +23,7 @@ USES= iconv shebangfix
|
|||
SHEBANG_FILES= filters/html-converters/resources/markdown.pl
|
||||
USE_GMAKE= yes
|
||||
USE_OPENSSL= yes
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
CFLAGS+= -I${LOCALBASE}/include -DNO_GETTEXT=1
|
||||
MAKE_ARGS+= CGIT_SCRIPT_PATH=${WWWDIR} \
|
||||
CGIT_CONFIG=${PREFIX}/etc/cgitrc
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
@ -40,7 +40,9 @@ post-extract:
|
|||
@${MV} ${WRKDIR}/git-${GIT_VERSION} ${WRKSRC}/git
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/^CC =/d' ${WRKSRC}/git/Makefile
|
||||
@${REINPLACE_CMD} -e '/^CC =/d' -e '/^CFLAGS =/d' \
|
||||
-e '/^LDFLAGS =/d' ${WRKSRC}/git/Makefile \
|
||||
${WRKSRC}/git/Makefile
|
||||
@${REINPLACE_CMD} -e 's,/usr,${PREFIX},g' \
|
||||
-e 's,-Igit,-I.,g' ${WRKSRC}/Makefile
|
||||
|
||||
|
|
|
@ -3,21 +3,22 @@
|
|||
%%WWWDIR%%/cgit.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/cgitrc.5.txt
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
lib/cgit/filters/about-formatting.sh
|
||||
lib/cgit/filters/commit-links.sh
|
||||
lib/cgit/filters/syntax-highlighting.sh
|
||||
lib/cgit/filters/html-converters/resources/markdown.pl
|
||||
lib/cgit/filters/html-converters/resources/rst-template.txt
|
||||
lib/cgit/filters/html-converters/man2html
|
||||
lib/cgit/filters/html-converters/md2html
|
||||
lib/cgit/filters/html-converters/resources/markdown.pl
|
||||
lib/cgit/filters/html-converters/resources/rst-template.txt
|
||||
lib/cgit/filters/html-converters/rst2html
|
||||
lib/cgit/filters/html-converters/txt2html
|
||||
lib/cgit/filters/syntax-highlighting.py
|
||||
lib/cgit/filters/syntax-highlighting.sh
|
||||
lib/cgit/filters/about-formatting.sh
|
||||
@dirrm lib/cgit/html-converters/resources/
|
||||
@dirrm lib/cgit/html-converters/
|
||||
@dirrm lib/cgit/filters/html-converters/resources/
|
||||
@dirrm lib/cgit/filters/html-converters/
|
||||
@dirrm lib/cgit/filters
|
||||
@dirrm lib/cgit
|
||||
@dirrm %%WWWDIR%%
|
||||
@exec mkdir -p /var/cache/%%PORTNAME%%
|
||||
@dirrmtry /var/cache/%%PORTNAME%%
|
||||
@dirrmtry /var/cache/
|
||||
@dirrmtry /var/cache
|
||||
|
|
Loading…
Reference in a new issue