FreeBSD Bugzilla – Attachment 13324 Details for
Bug 25426
Update port: emulators/spim
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 5.43 KB, created by
tkato
on 2001-02-27 21:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato
Created:
2001-02-27 21:40:01 UTC
Size:
5.43 KB
patch
obsolete
>diff -urN /usr/ports/emulators/spim/Makefile emulators/spim/Makefile >--- /usr/ports/emulators/spim/Makefile Tue Feb 27 20:35:16 2001 >+++ emulators/spim/Makefile Tue Feb 27 21:34:06 2001 >@@ -8,35 +8,26 @@ > > PORTNAME= spim > PORTVERSION= 6.3 >+PORTREVISION= 1 > CATEGORIES= emulators > MASTER_SITES= ftp://ftp.cs.wisc.edu/pub/spim/ > DISTNAME= ${PORTNAME}${PORTVERSION} > > MAINTAINER= ports@FreeBSD.org > >-PREFIX?= ${LOCALBASE} > WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} >+ >+USE_XLIB= yes > HAS_CONFIGURE= yes > CONFIGURE_SCRIPT= Configure >-USE_IMAKE= yes >-ALL_TARGET= y.tab.c spim xspim >+MAKEFILE= Makefile.std >+ALL_TARGET= spim xspim > MAN1= spim.1 xspim.1 > >-pre-build: >- @${RM} -f ${WRKSRC}/y.tab.* >- >-pre-install: >- @${MKDIR} ${PREFIX}/share/spim && ${CHMOD} a+rx,u+w ${PREFIX}/share/spim >- > post-install: > .if !defined(NOPORTDOCS) >- @${ECHO_MSG} "Installing spim/xspim documentation" >- @${MKDIR} ${PREFIX}/share/doc/spim \ >- && ${CHMOD} a+rx,u+w ${PREFIX}/share/doc/spim >- ${INSTALL_DATA} ${WRKSRC}/Documentation/spim.ps \ >- ${PREFIX}/share/doc/spim >- ${INSTALL_DATA} ${WRKSRC}/Documentation/cycle.ps \ >- ${PREFIX}/share/doc/spim >+ @${MKDIR} ${PREFIX}/share/doc/spim >+ ${INSTALL_DATA} ${WRKSRC}/Documentation/*.ps ${PREFIX}/share/doc/spim > ${GZIP_CMD} ${PREFIX}/share/doc/spim/*.ps > .endif > >diff -urN /usr/ports/emulators/spim/files/patch-01 emulators/spim/files/patch-01 >--- /usr/ports/emulators/spim/files/patch-01 Tue Feb 27 20:35:17 2001 >+++ emulators/spim/files/patch-01 Thu Jan 1 09:00:00 1970 >@@ -1,26 +0,0 @@ >---- Imakefile.orig Sun Jan 14 20:55:15 2001 >-+++ Imakefile Sun Feb 11 23:49:11 2001 >-@@ -44,13 +44,13 @@ >- # >- >- # Full path for directory that will hold the trap handler file: >--TRAP_DIR = . >-+TRAP_DIR = $(PREFIX)/share/spim >- >- # Full path for the directory that will hold the executable files: >--BIN_DIR = /usr/unsup/bin >-+BIN_DIR = $(PREFIX)/bin >- >- # Full path for the directory that will hold the man files: >--MAN_DIR = /var/unsup/man >-+MAN_DIR = $(PREFIX)/man/man1 >- >- >- # If you have flex, use it instead of lex. If you use flex, define this >-@@ -255,7 +255,7 @@ >- mv -f lex.yy.c.xx lex.yy.c >- >- depend:: >-- makedepend -w10 *.c >-+ makedepend -w10 -I$(X11BASE)/include *.c >- >diff -urN /usr/ports/emulators/spim/files/patch-aa emulators/spim/files/patch-aa >--- /usr/ports/emulators/spim/files/patch-aa Thu Jan 1 09:00:00 1970 >+++ emulators/spim/files/patch-aa Tue Feb 27 21:26:52 2001 >@@ -0,0 +1,81 @@ >+--- Makefile.std.orig Mon Jan 15 05:55:16 2001 >++++ Makefile.std Tue Feb 27 21:16:12 2001 >+@@ -46,21 +46,21 @@ >+ >+ >+ # Full path for directory containing X11 include files: >+-X_INCLUDE_DIR=/usr/X11/include >++X_INCLUDE_DIR=${X11BASE}/include >+ >+ >+ # Location of X11 root directory. >+-TOPDIR = /usr/X11 >++TOPDIR = ${X11BASE} >+ >+ >+ # Full path for directory that will hold the trap handler file: >+-TRAP_DIR = . >++TRAP_DIR = ${PREFIX}/share/spim >+ >+ # Full path for the directory that will hold the executable files: >+-BIN_DIR = /usr/unsup/bin >++BIN_DIR = ${PREFIX}/bin >+ >+ # Full path for the directory that will hold the man files: >+-MAN_DIR = /usr/unsup/man >++MAN_DIR = ${PREFIX}/man/man1 >+ >+ >+ # Full path for the trap handler file: >+@@ -93,8 +93,8 @@ >+ >+ DEFINES = $(ENDIAN) $(MEM_SIZES) -DDEFAULT_TRAP_HANDLER=$(TRAP_PATH) -DSPIM_VERSION="\"`cat VERSION`\"" >+ >+-CC = cc >+-CFLAGS = $(DEFINES) >++CC ?= cc >++CFLAGS += $(DEFINES) $(IFLAGS) >+ IFLAGS = -I$(X_INCLUDE_DIR) >+ YFLAGS = -d >+ YCFLAGS = >+@@ -120,18 +120,18 @@ >+ >+ spim: force >+ @touch .spim-made >+- make -f Makefile.std spim2 >++ $(MAKE) -f Makefile.std spim2 >+ >+ spim2: $(OBJS) spim.o >+- $(CC) -g $(OBJS) spim.o $(LDFLAGS) -o spim -lm >++ $(CC) $(OBJS) spim.o $(LDFLAGS) -o spim -lm >+ >+ >+ xspim: force >+ @touch .spim-made >+- make -f Makefile.std xspim2 >++ $(MAKE) -f Makefile.std xspim2 >+ >+ xspim2: $(OBJS) $(XOBJS) xspim.o >+- $(CC) -g $(OBJS) $(XOBJS) xspim.o $(LDFLAGS) $(XLDFLAGS) -o xspim -lm >++ $(CC) $(OBJS) $(XOBJS) xspim.o $(LDFLAGS) $(XLDFLAGS) -o xspim -lm >+ >+ force: configuration >+ >+@@ -200,11 +200,12 @@ >+ spim.tar.* spim.aux spim.log spim.dvi spim.shar* >+ >+ install: spim xspim >+- install -c -s spim $(BIN_DIR) >+- install -c -s xspim $(BIN_DIR) >+- install -c -m 0444 trap.handler $(TRAP_DIR) >+- install -c -m 0444 spim.man $(MAN_DIR) >+- install -c -m 0444 xspim.man $(MAN_DIR) >++ -mkdir -p $(BIN_DIR) $(TRAP_DIR) $(MAN_DIR) >++ ${BSD_INSTALL_PROGRAM} spim $(BIN_DIR) >++ ${BSD_INSTALL_PROGRAM} xspim $(BIN_DIR) >++ ${BSD_INSTALL_DATA} trap.handler $(TRAP_DIR) >++ ${BSD_INSTALL_MAN} spim.man $(MAN_DIR)/spim.1 >++ ${BSD_INSTALL_MAN} xspim.man $(MAN_DIR)/xspim.1 >+ >+ very-clean: clean >+ rm -f y.tab.h y.tab.c lex.yy.c spim.tar* Documentation/spim.ps >diff -urN /usr/ports/emulators/spim/pkg-descr emulators/spim/pkg-descr >--- /usr/ports/emulators/spim/pkg-descr Wed Oct 30 10:58:56 1996 >+++ emulators/spim/pkg-descr Tue Feb 27 07:32:57 2001 >@@ -12,4 +12,6 @@ > target machine for compilers courses, lower division assembly language > programming, microprocessor design courses, etc... > >+WWW: http://www.cs.wisc.edu/~larus/SPIM/ >+ > -- David O'Brien (obrien@cs.ucdavis.edu) >diff -urN /usr/ports/emulators/spim/pkg-plist emulators/spim/pkg-plist >--- /usr/ports/emulators/spim/pkg-plist Tue Feb 27 20:35:18 2001 >+++ emulators/spim/pkg-plist Tue Feb 27 20:46:33 2001 >@@ -1,7 +1,7 @@ > bin/spim > bin/xspim >-share/spim/trap.handler > %%PORTDOCS%%share/doc/spim/spim.ps.gz > %%PORTDOCS%%share/doc/spim/cycle.ps.gz >-%%PORTDOCS%%@dirrm share/doc/spim >+share/spim/trap.handler > @dirrm share/spim >+%%PORTDOCS%%@dirrm share/doc/spim
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 25426
: 13324