aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/dynamips-devel
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2006-02-14 03:16:40 +0800
committerfjoe <fjoe@FreeBSD.org>2006-02-14 03:16:40 +0800
commit434e912ed62adf110b10374f42ddbb97ba4da721 (patch)
treed655231b6aa2d2ca6fe1ddae0162d53ca8ee53a0 /emulators/dynamips-devel
parentf762667726370bf6dfe27ddb5b820ee0ed188875 (diff)
downloadfreebsd-ports-gnome-434e912ed62adf110b10374f42ddbb97ba4da721.tar.gz
freebsd-ports-gnome-434e912ed62adf110b10374f42ddbb97ba4da721.tar.zst
freebsd-ports-gnome-434e912ed62adf110b10374f42ddbb97ba4da721.zip
- Fix the build on RELENG_4 (USE_GCC=3.2+) [1]
- Fix the build on arches other than i386 [2] - Bump PORTREVISION Noted by: pointyhat [1], [2]
Diffstat (limited to 'emulators/dynamips-devel')
-rw-r--r--emulators/dynamips-devel/Makefile2
-rw-r--r--emulators/dynamips-devel/files/patch-Makefile4
2 files changed, 4 insertions, 2 deletions
diff --git a/emulators/dynamips-devel/Makefile b/emulators/dynamips-devel/Makefile
index c8451216d032..5e5a9346865d 100644
--- a/emulators/dynamips-devel/Makefile
+++ b/emulators/dynamips-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dynamips
PORTVERSION= 0.2.3b
+PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://www.ipflow.utc.fr/dynamips/
@@ -16,6 +17,7 @@ COMMENT= Cisco 7200 Simulator
LIB_DEPENDS= elf.0:${PORTSDIR}/devel/libelf
USE_GMAKE= yes
+USE_GCC= 3.2+
ALL_TARGET= ${PORTNAME}
MAKE_ENV= DYNAMIPS_ARCH=${DYNAMIPS_ARCH}\
PTHREAD_CFLAGS=${PTHREAD_CFLAGS}\
diff --git a/emulators/dynamips-devel/files/patch-Makefile b/emulators/dynamips-devel/files/patch-Makefile
index e73318ef8e00..d66349dc1144 100644
--- a/emulators/dynamips-devel/files/patch-Makefile
+++ b/emulators/dynamips-devel/files/patch-Makefile
@@ -1,11 +1,11 @@
--- Makefile.orig Mon Jan 30 19:09:47 2006
-+++ Makefile Tue Jan 31 01:38:09 2006
++++ Makefile Tue Feb 14 01:13:29 2006
@@ -3,7 +3,7 @@
# Replace x86 by amd64 for a build on x86_64.
# Use "nojit" for architectures that are not x86 or x86_64.
-ARCH=x86
-+DYNAMIPS_ARCH=x86
++DYNAMIPS_ARCH?=x86
# Change this to 0 if your system doesn't support RFC 2553 extensions
HAS_RFC2553=1