diff options
author | Brendan Fabeny <bf@FreeBSD.org> | 2011-04-30 23:56:55 +0000 |
---|---|---|
committer | Brendan Fabeny <bf@FreeBSD.org> | 2011-04-30 23:56:55 +0000 |
commit | b09ee2c671755147effc77344d1539f3b5a4bd51 (patch) | |
tree | f39bfaac5c128d194d6cfd742630c82db917d413 /devel/api-sanity-autotest | |
parent | fbbacef1edaf846b3aced4ae4d2a4dbeb228fcc2 (diff) | |
download | ports-b09ee2c671755147effc77344d1539f3b5a4bd51.tar.gz ports-b09ee2c671755147effc77344d1539f3b5a4bd51.zip |
Notes
Diffstat (limited to 'devel/api-sanity-autotest')
-rw-r--r-- | devel/api-sanity-autotest/Makefile | 14 | ||||
-rw-r--r-- | devel/api-sanity-autotest/distinfo | 4 |
2 files changed, 13 insertions, 5 deletions
diff --git a/devel/api-sanity-autotest/Makefile b/devel/api-sanity-autotest/Makefile index 8fb421769b63..3b54936e5819 100644 --- a/devel/api-sanity-autotest/Makefile +++ b/devel/api-sanity-autotest/Makefile @@ -6,7 +6,7 @@ # PORTNAME= api-sanity-autotest -PORTVERSION= 1.12.3 +PORTVERSION= 1.12.4 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" \ ${WRKSRC}/${PORTNAME}.pl do-install: @@ -50,4 +58,4 @@ post-install: @(cd ${WRKSRC}/doc; ${INSTALL_MAN} ${PORTDOCS} ${DOCSDIR}) .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/devel/api-sanity-autotest/distinfo b/devel/api-sanity-autotest/distinfo index d467ce384b0a..dcfde11c42ad 100644 --- a/devel/api-sanity-autotest/distinfo +++ b/devel/api-sanity-autotest/distinfo @@ -1,2 +1,2 @@ -SHA256 (api-sanity-autotest-1.12.3.tar.gz) = 23e4fa3e7163ba9bb24c48f5c09e13bc55a9d03079a534166a0d0c2c64532772 -SIZE (api-sanity-autotest-1.12.3.tar.gz) = 162659 +SHA256 (api-sanity-autotest-1.12.4.tar.gz) = a9c77e604be43de63cbe578a57edcca417ce662f28238af5b94453a484a3e530 +SIZE (api-sanity-autotest-1.12.4.tar.gz) = 162740 |