mirror of
https://git.freebsd.org/ports.git
synced 2025-05-24 23:16:33 -04:00
- Convert to USES=autoreconf
- Support building with Clang
This commit is contained in:
parent
2e1f678ae6
commit
daa47c39ff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369204
1 changed files with 10 additions and 10 deletions
|
@ -12,23 +12,23 @@ COMMENT= Diff application for semistructured data such as XML files
|
||||||
|
|
||||||
LICENSE= GPLv2 # (or later)
|
LICENSE= GPLv2 # (or later)
|
||||||
|
|
||||||
USES= pkgconfig tar:bzip2
|
GNU_CONFIGURE= yes
|
||||||
USE_GNOME= libxml2
|
USES= autoreconf pkgconfig tar:bzip2
|
||||||
USE_GCC= any
|
USE_GNOME= libxml2
|
||||||
USE_AUTOTOOLS= automake14
|
|
||||||
|
|
||||||
PLIST_FILES= bin/xmldiff
|
PLIST_FILES= bin/xmldiff
|
||||||
|
|
||||||
post-extract:
|
|
||||||
@${FIND} ${WRKSRC} -type l -delete
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
.for f in config.guess config.sub install-sh missing mkinstalldirs
|
@${FIND} ${WRKSRC} -type l -delete
|
||||||
@${LN} -sf ${AUTOMAKE_DIR}/${f} ${WRKSRC}/${f}
|
|
||||||
.endfor
|
|
||||||
@${REINPLACE_CMD} -e \
|
@${REINPLACE_CMD} -e \
|
||||||
's|^CXXFLAGS|AM_CPPFLAGS|' ${WRKSRC}/src/Makefile.am
|
's|^CXXFLAGS|AM_CPPFLAGS|' ${WRKSRC}/src/Makefile.am
|
||||||
@${REINPLACE_CMD} -e \
|
@${REINPLACE_CMD} -e \
|
||||||
's|"getopt\.h"|<unistd.h>|' ${WRKSRC}/src/main.cc
|
's|"getopt\.h"|<unistd.h>|' ${WRKSRC}/src/main.cc
|
||||||
|
@${REINPLACE_CMD} \
|
||||||
|
-e 's/hash</__gnu_cxx::&/' -e 's/hash<char/& const/' \
|
||||||
|
${WRKSRC}/src/doc.h ${WRKSRC}/src/out_common.cc \
|
||||||
|
${WRKSRC}/src/out_merged.cc ${WRKSRC}/src/out_xupdate.cc \
|
||||||
|
${WRKSRC}/src/out_xupdate.h ${WRKSRC}/src/ustring.cc \
|
||||||
|
${WRKSRC}/src/ustring.h
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue