c9509af2f4
all our arch, so it doesn't build on at least hppa/arm. Fix build by using the definitions from our system headers instead. No effect on existing arch - package bump is probably unnecessary but done anyway to be sure. Thanks to Jonathan Armani for testing that dynamips/gns3 on i386 are still happy. ok ajacoutot
43 lines
957 B
Makefile
43 lines
957 B
Makefile
# $OpenBSD: Makefile,v 1.2 2008/04/10 15:22:17 sthen Exp $
|
|
|
|
COMMENT= cisco 3600/7200 platform emulator
|
|
|
|
DISTNAME= dynamips-0.2.8-RC2
|
|
PKGNAME= ${DISTNAME:S/-RC/rc/}p0
|
|
CATEGORIES= emulators
|
|
|
|
HOMEPAGE= http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator
|
|
MASTER_SITES= http://www.ipflow.utc.fr/dynamips/
|
|
|
|
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
LIB_DEPENDS= elf::devel/libelf
|
|
WANTLIB= c pcap pthread
|
|
|
|
MAKE_ENV= DYNAMIPS_ARCH=${DYNAMIPS_ARCH}
|
|
|
|
USE_GMAKE= Yes
|
|
NO_REGRESS= Yes
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
DYNAMIPS_ARCH= "x86"
|
|
.elif ${MACHINE_ARCH} == "amd64"
|
|
DYNAMIPS_ARCH= "amd64"
|
|
.else
|
|
DYNAMIPS_ARCH= "nojit"
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dynamips
|
|
.for i in ChangeLog README README.hypervisor TODO
|
|
${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/dynamips
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|