summaryrefslogtreecommitdiffstats
path: root/net/opal/Makefile
diff options
context:
space:
mode:
authorroger <roger@FreeBSD.org>2000-04-04 13:38:09 +0000
committerroger <roger@FreeBSD.org>2000-04-04 13:38:09 +0000
commitf7175e1a5cb5a528ca3c04c9ffdaccf4e7a6ef5f (patch)
tree756760338d746a447fa49c967e00ff78af87a26c /net/opal/Makefile
parent9673e889dfbf89ed9ff027424ea475605f4a64c3 (diff)
downloadFreeBSD-ports-f7175e1a5cb5a528ca3c04c9ffdaccf4e7a6ef5f.zip
FreeBSD-ports-f7175e1a5cb5a528ca3c04c9ffdaccf4e7a6ef5f.tar.gz
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/opal/Makefile')
-rw-r--r--net/opal/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/opal/Makefile b/net/opal/Makefile
index a0ae626..1bec4b1 100644
--- a/net/opal/Makefile
+++ b/net/opal/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
OpenPOWER on IntegriCloud