diff options
author | wiedi <wiedi@pkgsrc.org> | 2014-02-24 12:30:59 +0000 |
---|---|---|
committer | wiedi <wiedi@pkgsrc.org> | 2014-02-24 12:30:59 +0000 |
commit | f97b2f406da992393292a7c0433fa335e11b8821 (patch) | |
tree | d8daff76fbc5ca00f1ef3d15cd66260ffadbc61d /emulators | |
parent | b5070dc130d80655b397d2a5d0556d3d3be6c94d (diff) | |
download | pkgsrc-f97b2f406da992393292a7c0433fa335e11b8821.tar.gz |
Adjust Makefile for SunOS in similar style as used for NetBSD and Drangonfly
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/dynamips/distinfo | 4 | ||||
-rw-r--r-- | emulators/dynamips/patches/patch-aa | 19 |
2 files changed, 20 insertions, 3 deletions
diff --git a/emulators/dynamips/distinfo b/emulators/dynamips/distinfo index 420ad4791d1..32b48a999ef 100644 --- a/emulators/dynamips/distinfo +++ b/emulators/dynamips/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.5 2013/02/27 19:33:10 markd Exp $ +$NetBSD: distinfo,v 1.6 2014/02/24 12:30:59 wiedi Exp $ SHA1 (dynamips-0.2.8-RC2.tar.gz) = 349270690996a1e260b3eceb51ea90f94c25a59e RMD160 (dynamips-0.2.8-RC2.tar.gz) = 0447a4c0cf516bd2b63259881c7625e26d0d838f Size (dynamips-0.2.8-RC2.tar.gz) = 578935 bytes -SHA1 (patch-aa) = 002d81f7155d52d9a74d5297d9a28ec3bfc26254 +SHA1 (patch-aa) = 9dce75ed9d39e6faaf3b8af7a52fa094073d6f56 diff --git a/emulators/dynamips/patches/patch-aa b/emulators/dynamips/patches/patch-aa index 94ecd404735..869e3c8b91c 100644 --- a/emulators/dynamips/patches/patch-aa +++ b/emulators/dynamips/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.5 2013/02/27 19:33:11 markd Exp $ +$NetBSD: patch-aa,v 1.6 2014/02/24 12:30:59 wiedi Exp $ --- Makefile.orig 2007-10-14 08:43:07.000000000 +0000 +++ Makefile @@ -46,6 +46,23 @@ $NetBSD: patch-aa,v 1.5 2013/02/27 19:33:11 markd Exp $ DESTDIR=/usr else ifeq ($(shell uname -s), Darwin) +@@ -66,11 +88,11 @@ ifeq ($(shell uname -s), Darwin) + LIBS=-L/usr/local/lib -L. -ldl -lelf -lpthread + else + ifeq ($(shell uname -s), SunOS) +- CFLAGS+=-I/usr/local/include -DINADDR_NONE=0xFFFFFFFF \ +- -I /opt/csw/include -DSUNOS +- LIBS=-L/usr/local/lib -L. -ldl -lelf -lpthread -L/opt/csw/lib \ +- -lsocket -lnsl -lresolv +- PCAP_LIB=/opt/csw/lib/libpcap.a ++ PTHREAD_LIBS?=-pthread ++ CFLAGS+=-I${LOCALBASE}/include -I${LOCALBASE}/include/libelf ${PTHREAD_CFLAGS} \ ++ -DINADDR_NONE=0xFFFFFFFF -DSUNOS ++ LIBS=-L${LOCALBASE}/lib -lelf ${PTHREAD_LIBS} ${PTHREAD_LDFLAGS} \ ++ ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib -lsocket -lnsl -lresolv + else + ifeq ($(shell uname -o), Cygwin) + CFLAGS+=-I/usr/local/include -I/usr/local/include/libelf -DCYGWIN \ @@ -79,7 +101,9 @@ ifeq ($(shell uname -o), Cygwin) PCAP_LIB=-lpacket -lwpcap else |