- Set correct (though fake) PKGNAMEPREFIX if target archs/ABI

was not selected.
This commit is contained in:
Stanislav Sedov 2007-06-27 22:25:53 +00:00
parent cb2dd6be03
commit 5e9f654cb0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194358
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ PATCHFILES+= ${PORTNAME}-${PORTVERSION}-rtems4.8-20061021.diff
.endif .endif
.if !defined(TGTARCH) || !defined(TGTABI) .if !defined(TGTARCH) || !defined(TGTABI)
PKGNAMEPREFIX= #empty PKGNAMEPREFIX= cross-
IGNORE= you should select ARCH and ABI to build port IGNORE= you should select ARCH and ABI to build port
.endif .endif

View File

@ -123,7 +123,7 @@ FIXREFS= ${SH} -c '${REINPLACE_CMD} -E \
-e "s,\($$0\),\(${OURTARGET}-$$0\),g" $$*' -- -e "s,\($$0\),\(${OURTARGET}-$$0\),g" $$*' --
.if !defined(TGTARCH) || !defined(TGTABI) .if !defined(TGTARCH) || !defined(TGTABI)
PKGNAMEPREFIX= #empty PKGNAMEPREFIX= cross-
OURTARGET= cross # to generate a correct index line OURTARGET= cross # to generate a correct index line
IGNORE= you should select ARCH and ABI to build port IGNORE= you should select ARCH and ABI to build port
.endif .endif