summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2012-02-16 11:44:36 +0000
committerBrendan Fabeny <bf@FreeBSD.org>2012-02-16 11:44:36 +0000
commit1789b2dfadd26f12d183984b15ed7334b8178d7f (patch)
tree6209a5ccb765b3cffba893dab1796662628ce7a9
parent- Update to 0.3.1 (diff)
update to 1.12.9
Notes
Notes: svn path=/head/; revision=291527
-rw-r--r--devel/api-sanity-autotest/Makefile22
-rw-r--r--devel/api-sanity-autotest/distinfo4
2 files changed, 16 insertions, 10 deletions
diff --git a/devel/api-sanity-autotest/Makefile b/devel/api-sanity-autotest/Makefile
index 4a1d5ca4fd19..a7bf9fc80f0a 100644
--- a/devel/api-sanity-autotest/Makefile
+++ b/devel/api-sanity-autotest/Makefile
@@ -5,10 +5,10 @@
# $FreeBSD$
#
-PORTNAME= api-sanity-autotest
-PORTVERSION= 1.12.5
+PORTNAME= api-sanity-checker
+PORTVERSION= 1.12.9
CATEGORIES= devel perl5
-MASTER_SITES= http://linuxtesting.org/downloads/ \
+MASTER_SITES= http://forge.ispras.ru/attachments/download/1278/ \
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,10 +26,15 @@ USE_PERL5_RUN= yes
PLIST_FILES= bin/${PORTNAME}.pl
-READELF?= /usr/bin/readelf
-
.include <bsd.port.pre.mk>
+.if !empty(CC:M*clang*) || !empty(CXX:M*clang*)
+IGNORE = : this port requires CC and CXX to be versions of gcc
+.endif
+
+CPPFILT?= /usr/bin/c++filt
+READELF?= /usr/bin/readelf
+
.if ${ARCH} == "sparc64"
PICFLAG?= -fPIC
.else
@@ -39,6 +44,7 @@ PICFLAG?= -fpic
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(\"g++\")|s|\"g++\"|\"${CXX}\"|" \
-e "\|get_CmdPath(\"objdump\")|s|\"objdump\"|\"${OBJDUMP}\"|" \
@@ -50,9 +56,9 @@ post-patch:
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin
-.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
.endif
diff --git a/devel/api-sanity-autotest/distinfo b/devel/api-sanity-autotest/distinfo
index 2d37123f1d79..d49a2f9ca09a 100644
--- a/devel/api-sanity-autotest/distinfo
+++ b/devel/api-sanity-autotest/distinfo
@@ -1,2 +1,2 @@
-SHA256 (api-sanity-autotest-1.12.5.tar.gz) = 5ded86ca1b71502a939124f43459583617ad7fc251713a507b824b981cbc4ab9
-SIZE (api-sanity-autotest-1.12.5.tar.gz) = 163596
+SHA256 (api-sanity-checker-1.12.9.tar.gz) = 504fbfb00db73f9ced049fef15acbe4f11573afd158e778e424cbd14e1a45693
+SIZE (api-sanity-checker-1.12.9.tar.gz) = 166510