From 3a0e315e82362d426b4a7580e59c6aeb3c203633 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Wed, 23 Sep 2015 13:42:58 +0200
Subject: Add SystemPerl-1.344-example.patch patch


diff --git a/SystemPerl-1.344-example.patch b/SystemPerl-1.344-example.patch
new file mode 100644
index 0000000..5d52044
--- /dev/null
+++ b/SystemPerl-1.344-example.patch
@@ -0,0 +1,66 @@
+From 589ada83482fefd3069266fae07a50fc5013c9d3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
+Date: Wed, 23 Sep 2015 12:57:12 +0200
+Subject: [PATCH] example
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+1.336 patch ported to 1.344.
+
+Signed-off-by: Petr Písař <ppi...@redhat.com>
+---
+ example/Makefile_obj | 18 +++++++++---------
+ 1 file changed, 9 insertions(+), 9 deletions(-)
+
+diff --git a/example/Makefile_obj b/example/Makefile_obj
+index e67206f..ae63bd8 100644
+--- a/example/Makefile_obj
++++ b/example/Makefile_obj
+@@ -14,18 +14,18 @@ ifeq ($(SYSTEMC_ARCH),)
+   SYSTEMC_ARCH = linux
+ endif
+ 
+-SYSTEMPERL = ..
+-SYSTEMPERL_INCLUDE ?= $(SYSTEMPERL)/src
++SYSTEMPERL = /usr/include/perl-SystemPerl
++SYSTEMPERL_INCLUDE ?= $(SYSTEMPERL)
+ SYSTEMC_INCLUDE ?= $(SYSTEMC)/include
+ SYSTEMC_LIBDIR ?= $(SYSTEMC)/lib-$(SYSTEMC_ARCH)
+ 
+ CC = g++
+-INCDIR += -I. -I$(SYSTEMPERL_INCLUDE) -I$(SYSTEMC_INCLUDE) -I../example
+-LIBDIR += -L. -L$(SYSTEMPERL_INCLUDE) -L$(SYSTEMC_LIBDIR)
+-VPATH += ../example $(SYSTEMPERL_INCLUDE)
+-MAKEFILES += ../example/Makefile_obj
++INCDIR += -I. -I$(SYSTEMPERL_INCLUDE) -I$(SYSTEMC_INCLUDE)
++LIBDIR += -L. -L$(SYSTEMPERL_INCLUDE) -L$(SYSTEMC_HOME)/lib-$(SYSTEMC_ARCH)
++VPATH += . $(SYSTEMPERL_INCLUDE)
++MAKEFILES += Makefile_obj
+ 
+-SC_LIBS = -lsystemc $(SYSTEMC_LIBS)
++SC_LIBS = -lsystemc -I$(SYSTEMC_LIBS)
+ ifneq ($(wildcard $(SYSTEMC_LIBDIR)/*numeric_bit*),)
+   # Systemc 1.2.1beta
+   SC_LIBS   += -lnumeric_bit -lqt
+@@ -33,7 +33,7 @@ endif
+ 
+ LIBS   =  $(SC_LIBS) -lm $(EXTRA_LIBS)
+ 
+-SP_SP = $(wildcard ../example/*.sp)
++SP_SP = $(wildcard *.sp)
+ # /*AUTOTRACE*/ Looks for this
+ CFLAGS += -DWAVES -DSP_COVERAGE -Wno-deprecated
+ 
+@@ -61,7 +61,7 @@ SPPREPROC_FLAGS = -M sp_preproc.d --tree ex.tree --preproc
+ # In a user example where you weren't editing sp_preproc, you could have:
+ #preproc $(SP_CPP) $(SP_H): $(SP_SP)
+ preproc:
+-      perl ../sp_preproc $(INCDIR) $(SPPREPROC_FLAGS) $(SP_SP)
++      perl /usr/bin/sp_preproc $(INCDIR) $(SPPREPROC_FLAGS) $(SP_SP)
+ 
+ compile: ex_main
+ ex_main:      $(OBJS)
+-- 
+2.4.3
+
-- 
cgit v0.10.2


        
http://pkgs.fedoraproject.org/cgit/perl-SystemPerl.git/commit/?h=master&id=3a0e315e82362d426b4a7580e59c6aeb3c203633
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to