aboutsummaryrefslogtreecommitdiffstats
path: root/net/opal3
diff options
context:
space:
mode:
authorRoger Hardiman <roger@FreeBSD.org>2000-04-04 13:38:09 +0000
committerRoger Hardiman <roger@FreeBSD.org>2000-04-04 13:38:09 +0000
commit2c4b07b9596de5d0cf680c756069bf4c792a4806 (patch)
tree9cf4c1844fd1a10b65832b20409b03cbcdeabe42 /net/opal3
parent56488c5d4486f7b77bdcadbc325afd5a6727cc61 (diff)
Do not allow OpenH323 to autodetect the OS, OS Version and
CPU architecture. Instead pass in the actual values, as defined in bsd.port.mk Also, fix bug in do-install which prevented Alpha installs. Submitted by: Karl.Dietz@frankfurt.netsurf.de
Diffstat (limited to 'net/opal3')
-rw-r--r--net/opal3/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/opal3/Makefile b/net/opal3/Makefile
index a0ae626cd7d5..1bec4b123bbd 100644
--- a/net/opal3/Makefile
+++ b/net/opal3/Makefile
@@ -25,8 +25,11 @@ USE_GMAKE= yes
ALL_TARGET= opt
MAKE_ENV= PWLIBDIR=${WRKDIR}/pwlib \
OPENH323DIR=${WRKDIR}/openh323
+THE_MACHTYPE= ${ARCH:S/i386/x86/}
+MAKE_ARGS= OSTYPE=${OPSYS} MACHTYPE=${THE_MACHTYPE} OSRELEASE=${OSVERSION}
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/test/obj_FreeBSD_x86_r/voxilla ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/test/obj_${OPSYS}_${THE_MACHTYPE}_r/voxilla ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/test/voxilla.1 ${PREFIX}/man/man1/voxilla.1
MAN1= voxilla.1