aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbf <bf@FreeBSD.org>2012-02-16 19:46:43 +0800
committerbf <bf@FreeBSD.org>2012-02-16 19:46:43 +0800
commit01b4b9b78a3d86f025f3b7edc59f43cbaad1cd94 (patch)
treeab210016eb1d6a496e40f1c9dc4d493b160de72e /devel
parente4752d774feaa73262c26d112f2d3e86b96205a0 (diff)
downloadfreebsd-ports-gnome-01b4b9b78a3d86f025f3b7edc59f43cbaad1cd94.tar.gz
freebsd-ports-gnome-01b4b9b78a3d86f025f3b7edc59f43cbaad1cd94.tar.zst
freebsd-ports-gnome-01b4b9b78a3d86f025f3b7edc59f43cbaad1cd94.zip
update to 1.96.7
Diffstat (limited to 'devel')
-rw-r--r--devel/abi-compliance-checker/Makefile25
-rw-r--r--devel/abi-compliance-checker/distinfo4
2 files changed, 19 insertions, 10 deletions
diff --git a/devel/abi-compliance-checker/Makefile b/devel/abi-compliance-checker/Makefile
index 8d6a16c889a6..054e09b8c916 100644
--- a/devel/abi-compliance-checker/Makefile
+++ b/devel/abi-compliance-checker/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= abi-compliance-checker
-PORTVERSION= 1.94
+PORTVERSION= 1.96.7
CATEGORIES= devel perl5
-MASTER_SITES= http://linuxtesting.org/downloads/ \
+MASTER_SITES= http://forge.ispras.ru/attachments/download/1433/ \
LOCAL/bf
MAINTAINER= bf@FreeBSD.org
@@ -18,7 +18,7 @@ LICENSE= LGPL20 GPLv2
LICENSE_COMB= dual
NO_BUILD= yes
-.ifdef(MAINTAINER_MODE)
+.if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING)
USE_PERL5= yes
.else
USE_PERL5_RUN= yes
@@ -26,11 +26,16 @@ USE_PERL5_RUN= yes
PLIST_FILES= bin/${PORTNAME}.pl
+.include <bsd.port.pre.mk>
+
+.if !empty(CC:M*clang*)
+IGNORE = : this port requires CC to be a version of gcc
+.endif
+
CPPFILT?= /usr/bin/c++filt
+GZ?= /usr/bin/gzip
READELF?= /usr/bin/readelf
-.include <bsd.port.pre.mk>
-
.if ${ARCH} == "sparc64"
PICFLAG?= -fPIC
.else
@@ -45,11 +50,13 @@ PORT${w}= *
post-patch:
@${REINPLACE_CMD} \
- -e "\|get_CmdPath(\"ar\")|s|\"ar\"|\"${AR}\"|" \
-e "\|get_CmdPath(\"c++filt\")|s|\"c++filt\"|\"${CPPFILT}\"|" \
-e "\|get_CmdPath(\"gcc\")|s|\"gcc\"|\"${CC}\"|" \
-e "\|get_CmdPath(\"objdump\")|s|\"objdump\"|\"${OBJDUMP}\"|" \
-e "\|get_CmdPath(\"readelf\")|s|\"readelf\"|\"${READELF}\"|" \
+ -e "\|my \$$GzipCmd =|s|=.*|= \"${GZ}\";|" \
+ -e "\|my \$$TarCmd =|s|=.*|= \"${TAR}\";|" \
+ -e "\|TarCmd -xv.*>|{h; s| >.*|\");|; x; s|-xv|-t|; G;}" \
-e "s|ACC_MODULES_INSTALL_PATH|${DATADIR}|" \
${WRKSRC}/${PORTNAME}.pl
@${SED} -i "" -e "\|BuildCmd|s|GCC_PATH.\"|& ${PICFLAG}|" \
@@ -67,9 +74,11 @@ do-install:
"modules/Internals modules/*.xml modules/Targets/unix" ${DATADIR})
.endif
-.ifdef(MAINTAINER_MODE)
+.if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING)
check regression-test test: build
- @(cd ${WRKSRC}; ${PERL} ./${PORTNAME}.pl -test )
+ cd ${WRKSRC}; \
+ ${PERL} ./${PORTNAME}.pl -test; \
+ ${PERL} ./${PORTNAME}.pl -test-dump
.endif
diff --git a/devel/abi-compliance-checker/distinfo b/devel/abi-compliance-checker/distinfo
index 08c81f29c0b0..c072abcd2dbe 100644
--- a/devel/abi-compliance-checker/distinfo
+++ b/devel/abi-compliance-checker/distinfo
@@ -1,2 +1,2 @@
-SHA256 (abi-compliance-checker-1.94.tar.gz) = 4a935534b6ceef1ab96594c83d8d63fe794d8b45f10fe8c080378e1541d1939a
-SIZE (abi-compliance-checker-1.94.tar.gz) = 179920
+SHA256 (abi-compliance-checker-1.96.7.tar.gz) = 8003c1495a0d2c17a43c709086638d06c002e1de988bba32693b5db992ef35eb
+SIZE (abi-compliance-checker-1.96.7.tar.gz) = 201515