aboutsummaryrefslogtreecommitdiff
path: root/devel/abi-compliance-checker
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2011-04-30 23:58:28 +0000
committerBrendan Fabeny <bf@FreeBSD.org>2011-04-30 23:58:28 +0000
commitd7f860307a48f79b220fa46691f636e0a63f25c1 (patch)
tree2c213cfd8a16afede9430b45d90b02bea03eb9b5 /devel/abi-compliance-checker
parentb09ee2c671755147effc77344d1539f3b5a4bd51 (diff)
downloadports-d7f860307a48f79b220fa46691f636e0a63f25c1.tar.gz
ports-d7f860307a48f79b220fa46691f636e0a63f25c1.zip
Notes
Diffstat (limited to 'devel/abi-compliance-checker')
-rw-r--r--devel/abi-compliance-checker/Makefile14
-rw-r--r--devel/abi-compliance-checker/distinfo4
2 files changed, 13 insertions, 5 deletions
diff --git a/devel/abi-compliance-checker/Makefile b/devel/abi-compliance-checker/Makefile
index 053e7fc7bceb..fcff9311d5f1 100644
--- a/devel/abi-compliance-checker/Makefile
+++ b/devel/abi-compliance-checker/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= abi-compliance-checker
-PORTVERSION= 1.21.11
+PORTVERSION= 1.21.12
CATEGORIES= devel perl5
MASTER_SITES= http://linuxtesting.org/downloads/ \
LOCAL/bf
@@ -25,6 +25,14 @@ PLIST_FILES= bin/${PORTNAME}.pl
CPPFILT?= c++filt
READELF?= readelf
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "sparc64"
+PICFLAG?= -fPIC
+.else
+PICFLAG?= -fpic
+.endif
+
post-patch:
@${REINPLACE_CMD} \
-e "\|ArCmd =|s|=.*|= \"${AR}\";|" \
@@ -33,7 +41,7 @@ post-patch:
-e "\|GPP_PATH =|s|=.*|= \"${CXX}\";|" \
-e "\|ObjdumpCmd =|s|=.*|= \"${OBJDUMP}\";|" \
-e "\|ReadelfCmd =|s|=.*|= \"${READELF}\";|" \
- -e "s|-shared|& -fPIC|g" \
+ -e "s|-shared|& ${PICFLAG}|g" \
-e "s|detailes|details|g" \
${WRKSRC}/${PORTNAME}.pl
@@ -51,4 +59,4 @@ post-install:
@(cd ${WRKSRC}/doc; ${INSTALL_MAN} ${PORTDOCS} ${DOCSDIR})
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/abi-compliance-checker/distinfo b/devel/abi-compliance-checker/distinfo
index fc5581397d2c..1721d88fd4e1 100644
--- a/devel/abi-compliance-checker/distinfo
+++ b/devel/abi-compliance-checker/distinfo
@@ -1,2 +1,2 @@
-SHA256 (abi-compliance-checker-1.21.11.tar.gz) = bc67660f9f50c8a06738eedd7b66fe278c587f639cb1aad5b07b406d21e70503
-SIZE (abi-compliance-checker-1.21.11.tar.gz) = 93527
+SHA256 (abi-compliance-checker-1.21.12.tar.gz) = c1fedd990ee546a9fd94de1c7d120a61794b5ee8eb0f76a36ba27a9a7b65b645
+SIZE (abi-compliance-checker-1.21.12.tar.gz) = 94676