1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Remove hardcoded i386 strings in plist to fix plist for amd64.

This commit is contained in:
Oliver Braun 2008-03-09 21:07:45 +00:00
parent cbaf0981e1
commit ef6b361758
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208689
2 changed files with 17 additions and 9 deletions

View File

@ -27,6 +27,14 @@ HAS_CONFIGURE= YES
CONFIGURE_ARGS+= --prefix=${PREFIX}
USE_GMAKE= YES
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
PLIST_SUB+= ARCH=ix86
.elif ${ARCH} == "amd64"
PLIST_SUB+= ARCH=amd64
.endif
do-install:
# cheat a bit, otherwise LIBDIR gets clobbered
(cd ${WRKSRC} && ./configure --install)
@ -38,4 +46,4 @@ MAN1= hmake.1
CONFLICTS= nhc98-[0-9]*
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -3,12 +3,12 @@ bin/hi
bin/hmake
bin/hmake-config
bin/runhs
lib/hmake/ix86-FreeBSD/HInteractive
lib/hmake/ix86-FreeBSD/MkProg
lib/hmake/ix86-FreeBSD/Older
lib/hmake/ix86-FreeBSD/config
lib/hmake/ix86-FreeBSD/MkConfig
lib/hmake/ix86-FreeBSD/hmakerc
lib/hmake/ix86-FreeBSD/runhs
@dirrm lib/hmake/ix86-FreeBSD
lib/hmake/%%ARCH%%-FreeBSD/HInteractive
lib/hmake/%%ARCH%%-FreeBSD/MkProg
lib/hmake/%%ARCH%%-FreeBSD/Older
lib/hmake/%%ARCH%%-FreeBSD/config
lib/hmake/%%ARCH%%-FreeBSD/MkConfig
lib/hmake/%%ARCH%%-FreeBSD/hmakerc
lib/hmake/%%ARCH%%-FreeBSD/runhs
@dirrm lib/hmake/%%ARCH%%-FreeBSD
@dirrm lib/hmake