diff options
author | swallace <swallace@FreeBSD.org> | 1996-12-06 16:19:09 +0800 |
---|---|---|
committer | swallace <swallace@FreeBSD.org> | 1996-12-06 16:19:09 +0800 |
commit | ad1e45749d781c7f531cb995b51fd72755d068b3 (patch) | |
tree | 45fd6867f8985d43e11dbb890c2e37afe2e1617d /cad | |
parent | aead09835d189a355900085af1cdd7b0d6ac5033 (diff) | |
download | freebsd-ports-gnome-ad1e45749d781c7f531cb995b51fd72755d068b3.tar.gz freebsd-ports-gnome-ad1e45749d781c7f531cb995b51fd72755d068b3.tar.zst freebsd-ports-gnome-ad1e45749d781c7f531cb995b51fd72755d068b3.zip |
Upgrade magic to version 6.5.
Hurray! Distribution now already includes FreeBSD patches.
Diffstat (limited to 'cad')
-rw-r--r-- | cad/magic/Makefile | 17 | ||||
-rw-r--r-- | cad/magic/distinfo | 2 | ||||
-rw-r--r-- | cad/magic/files/patch-aa | 494 | ||||
-rw-r--r-- | cad/magic/files/patch-ab | 38 | ||||
-rw-r--r-- | cad/magic/pkg-descr | 2 | ||||
-rw-r--r-- | cad/magic/pkg-plist | 17 | ||||
-rw-r--r-- | cad/magic/scripts/post-configure | 15 |
7 files changed, 28 insertions, 557 deletions
diff --git a/cad/magic/Makefile b/cad/magic/Makefile index 24b2e0445908..9bec6bb81548 100644 --- a/cad/magic/Makefile +++ b/cad/magic/Makefile @@ -3,22 +3,21 @@ # Date created: 18 Dec 1994 # Whom: swallace # -# $Id: Makefile,v 1.10 1996/11/13 12:40:40 asami Exp $ +# $Id: Makefile,v 1.11 1996/11/15 23:30:57 obrien Exp $ # -DISTNAME= magic-6.4.4 +DISTNAME= magic-6.5 +DISTFILES= magic-6_5_tar.Z CATEGORIES= cad -MASTER_SITES= ftp://gatekeeper.dec.com/pub/DEC/WRL/projects/magic/6.4/ -EXTRACT_SUFX= .tar.Z +MASTER_SITES= ftp://gatekeeper.dec.com/pub/DEC/WRL/projects/magic/6.5/ MAINTAINER= swallace@FreeBSD.org USE_GMAKE= yes -BINS= magic ext2dlys ext2sim fsleeper magicusage net2ir extcheck X11Helper -MAN1= ext2dlys.1 ext2spice.1 extcheck.1 magic.1 magicusage.1 \ - grsunprog.1 ext2sim.1 net2ir.1 rsleeper.1 sim2spice.1 sleeper.1 \ - fsleeper.1 +BINS= magic ext2sim magicusage net2ir extcheck X11Helper ext2spice +MAN1= ext2spice.1 extcheck.1 magic.1 magicusage.1 \ + ext2sim.1 net2ir.1 rsleeper.1 sleeper.1 MAN3= mpack.3 dqueue.3 extflat.3 geometry.3 hash.3 heap.3 libmalloc.3 \ list.3 magicutils.3 malloc.3 path.3 runstats.3 set.3 show.3 \ stack.3 string.3 @@ -26,6 +25,8 @@ MAN5= cmap.5 displays.5 dlys.5 sim.5 dstyle.5 ext.5 glyphs.5 magic.5 net.5 MAN8= prleak.8 post-install: + @chmod ${BINMODE} ${PREFIX}/bin/spice2sim + @chown ${BINOWN}.${BINGRP} ${PREFIX}/bin/spice2sim .for f in ${BINS} @chmod ${BINMODE} ${PREFIX}/bin/$f @chown ${BINOWN}.${BINGRP} ${PREFIX}/bin/$f diff --git a/cad/magic/distinfo b/cad/magic/distinfo index 7c2698241c7f..da27b1c14278 100644 --- a/cad/magic/distinfo +++ b/cad/magic/distinfo @@ -1 +1 @@ -MD5 (magic-6.4.4.tar.Z) = debcd9d89fac25731c7df6c0431f195b +MD5 (magic-6_5_tar.Z) = de3bc6b38e8c3be97700bcf59ec29af3 diff --git a/cad/magic/files/patch-aa b/cad/magic/files/patch-aa deleted file mode 100644 index d62525dc6cbf..000000000000 --- a/cad/magic/files/patch-aa +++ /dev/null @@ -1,494 +0,0 @@ -*** extflat/extflat.h.orig Tue Jul 12 14:29:15 1994 ---- extflat/extflat.h Sat Dec 17 15:53:53 1994 -*************** -*** 23,29 **** ---- 23,31 ---- - int err0 = Need_to_include_magic_header; - #endif _MAGIC - -+ #ifndef __FreeBSD__ - typedef unsigned char u_char; -+ #endif - - /* - * Arguments to EFFlatBuild(). -*** misc/CFLAGS.orig Fri Jul 29 17:46:00 1994 ---- misc/CFLAGS Sat Dec 17 23:51:53 1994 -*************** -*** 1 **** -! -g ---- 1 ---- -! -m486 -O2 -*** misc/patchlevel.c.orig Fri Jul 29 12:34:47 1994 ---- misc/patchlevel.c Sat Dec 17 23:43:48 1994 -*************** -*** 57,62 **** ---- 57,63 ---- - strcat(patchstr, "release-6.4"); - strcat(patchstr, ", linux1"); - -+ strcat(patchstr, ", FreeBSD1"); - /* NEW PATCH LINES GO RIGHT BEFORE THIS LINE */ - return patchstr; - } -*** misc/paths.h.orig Thu Jul 7 15:26:29 1994 ---- misc/paths.h Sat Dec 17 23:28:58 1994 -*************** -*** 53,59 **** - # define PAGERDIR "/usr/bin/pg" - # endif - #else -! # ifdef linux - # define PAGERDIR "/usr/bin/more" - # else - # define PAGERDIR "/usr/ucb/more" ---- 53,59 ---- - # define PAGERDIR "/usr/bin/pg" - # endif - #else -! # if linux || __FreeBSD__ - # define PAGERDIR "/usr/bin/more" - # else - # define PAGERDIR "/usr/ucb/more" -*** plot/plotPixels.c.orig Fri Jul 29 15:05:41 1994 ---- plot/plotPixels.c Sat Dec 17 16:03:24 1994 -*************** -*** 1336,1342 **** ---- 1336,1344 ---- - FILE *file; /* File stream on which to dump it. */ - { - int i; -+ #ifndef __FreeBSD__ - extern char *sys_errlist[]; -+ #endif - extern int errno; - int r,g,b; - -*** plot/plotRutils.c.orig Mon Jul 11 11:10:50 1994 ---- plot/plotRutils.c Sat Dec 17 16:06:21 1994 -*************** -*** 394,400 **** ---- 394,402 ---- - FILE *file; /* File in which to dump it. */ - { - int count; -+ #ifndef __FreeBSD__ - extern char *sys_errlist[]; -+ #endif - extern int errno; - - count = write(fileno(file), (char *) raster->ras_bits, -*** plow/PlowMain.c.orig Fri Jul 29 17:08:25 1994 ---- plow/PlowMain.c Sat Dec 17 15:44:56 1994 -*************** -*** 22,27 **** ---- 22,28 ---- - static char rcsid[]="$Header: /home/ncvs/ports/cad/magic/patches/patch-aa,v 1.4 1995/02/25 21:35:19 ats Exp $"; - #endif not lint - -+ #include <sys/types.h> - #include <sys/time.h> - #include <sys/resource.h> - #include <stdio.h> -*** prleak/prleak.c.orig Thu Sep 13 13:27:43 1990 ---- prleak/prleak.c Sat Dec 17 15:50:19 1994 -*************** -*** 51,59 **** - static char allName[] = "/tmp/prlaaXXXXX"; - - long ftell(); - long getw(); - FILE *uopen(); -! int cleanup(); - - int aflag = 0; /* -a: print all calls to malloc/free */ - int dflag = 0; /* -d: print duplicate frees */ ---- 51,61 ---- - static char allName[] = "/tmp/prlaaXXXXX"; - - long ftell(); -+ #ifndef __FreeBSD__ - long getw(); -+ #endif - FILE *uopen(); -! void cleanup(); - - int aflag = 0; /* -a: print all calls to malloc/free */ - int dflag = 0; /* -d: print duplicate frees */ -*************** -*** 280,286 **** - { - if (ap = (struct active *) HashGetValue(he)) - { -! putw(he->h_key.h_ptr, fd); - putw(ap->a_size, fd); - putw(ap->a_seek, fd); - FREE((char *) ap); ---- 282,288 ---- - { - if (ap = (struct active *) HashGetValue(he)) - { -! putw((int)he->h_key.h_ptr, fd); - putw(ap->a_size, fd); - putw(ap->a_seek, fd); - FREE((char *) ap); -*************** -*** 615,621 **** - return (ret); - } - -! cleanup() - { - unlink(dupName); - unlink(leakName); ---- 617,623 ---- - return (ret); - } - -! void cleanup() - { - unlink(dupName); - unlink(leakName); -*** utils/getrect.c.orig Mon Jul 18 14:12:35 1994 ---- utils/getrect.c Sat Dec 17 17:34:16 1994 -*************** -*** 64,75 **** ---- 64,83 ---- - #define FILE_SET_PTR(fin, cp) ((fin)->_IO_read_ptr = (cp)) - - #else -+ #ifdef __FreeBSD__ -+ #define FILE_CNT(fin) ((fin)->_r) -+ #define FILE_PTR(fin) ((char *) (fin)->_p) -+ #define FILE_DEC_CNT(fin, n) ((fin)->_r -= (n)) -+ #define FILE_SET_PTR(fin, cp) ((fin)->_p = (cp)) -+ -+ #else - #define FILE_CNT(fin) ((fin)->_cnt) - #define FILE_PTR(fin) ((char *) fin->_ptr) - #define FILE_DEC_CNT(fin, n) ((fin)->_cnt -= (n)) - #define FILE_SET_PTR(fin, cp) ((fin)->_ptr = (cp)) - - #endif -+ #endif - - bool - GetRect(fin, skip, rect) -*************** -*** 115,121 **** - rect->r_ytop = isNegative ? -n : n; - - /* Adjust the stdio pointers to reflect the characters read */ -! FILE_DEC_CNT(fin, cp - (char *) fin->_ptr); - FILE_SET_PTR(fin, (STDIOCHAR *) cp); - - /* Make sure we skip to end of line or EOF */ ---- 123,129 ---- - rect->r_ytop = isNegative ? -n : n; - - /* Adjust the stdio pointers to reflect the characters read */ -! FILE_DEC_CNT(fin, cp - FILE_PTR(fin)); - FILE_SET_PTR(fin, (STDIOCHAR *) cp); - - /* Make sure we skip to end of line or EOF */ -*************** -*** 125,131 **** - - /* Adjust the stdio pointers to reflect the characters read */ - fastbad: -! FILE_DEC_CNT(fin, cp - (char *) fin->_ptr); - FILE_SET_PTR(fin, (STDIOCHAR *) cp); - goto bad; - ---- 133,139 ---- - - /* Adjust the stdio pointers to reflect the characters read */ - fastbad: -! FILE_DEC_CNT(fin, cp - FILE_PTR(fin)); - FILE_SET_PTR(fin, (STDIOCHAR *) cp); - goto bad; - -*** utils/malloc.c.orig Thu Aug 25 14:22:18 1994 ---- utils/malloc.c Sat Dec 17 16:08:04 1994 -*************** -*** 643,649 **** ---- 643,651 ---- - int cursize; - extern etext; - extern int errno; -+ #ifndef __FreeBSD__ - extern char *sys_errlist[]; -+ #endif - - /* - * Hmmmm. Somebody's not giving us enough memory. -*** utils/port.c.orig Thu Aug 18 13:14:30 1994 ---- utils/port.c Sat Dec 17 17:38:57 1994 -*************** -*** 19,24 **** ---- 19,25 ---- - static char rcsid[] = "$Header: /home/ncvs/ports/cad/magic/patches/patch-aa,v 1.4 1995/02/25 21:35:19 ats Exp $"; - #endif not lint - -+ #include <stdlib.h> - #include <stdio.h> - #include <math.h> - #include "magic.h" -*** windows/windCmdAM.c.orig Fri Jul 29 16:57:18 1994 ---- windows/windCmdAM.c Sat Dec 17 16:12:01 1994 -*************** -*** 281,287 **** - { - #define NUM_FD 20 /* max number of open files per process */ - extern int errno, sys_nerr; -! #ifndef ALPHA - extern char *sys_errlist[]; - #endif - int fd; ---- 281,287 ---- - { - #define NUM_FD 20 /* max number of open files per process */ - extern int errno, sys_nerr; -! #if !ALPHA && !__FreeBSD__ - extern char *sys_errlist[]; - #endif - int fd; -*** garouter/Makefile.orig Thu Aug 4 13:16:59 1994 ---- garouter/Makefile Sat Dec 17 16:50:47 1994 -*************** -*** 22,31 **** - - LINTFLAGS= ${IFLAGS} -u - LINTLIBS= -! #LINTLIBS= ${LIB}/lint/database.ln \ -! ${LIB}/lint/gcr.ln ${LIB}/lint/grouter.ln \ -! ${LIB}/lint/signals.ln ${LIB}/lint/textio.ln \ -! ${LIB}/lint/tiles.ln ${LIB}/lint/utils.ln - .SUFFIXES: .po - - ${MODULE}.o: ${OBJS} ---- 22,28 ---- - - LINTFLAGS= ${IFLAGS} -u - LINTLIBS= -! #LINTLIBS= ${LIB}/lint/database.ln ${LIB}/lint/gcr.ln ${LIB}/lint/grouter.ln ${LIB}/lint/signals.ln ${LIB}/lint/textio.ln ${LIB}/lint/tiles.ln ${LIB}/lint/utils.ln - .SUFFIXES: .po - - ${MODULE}.o: ${OBJS} -*** fsleeper/fsleeper.c.orig Thu Jul 7 15:47:35 1994 ---- fsleeper/fsleeper.c Sat Dec 17 16:35:09 1994 -*************** -*** 44,49 **** ---- 44,58 ---- - #endif - #endif - -+ #ifdef __FreeBSD__ -+ #ifndef gtty -+ #define gtty(fd, buf) ioctl(fd, TIOCGETP, buf) -+ #endif -+ #ifndef stty -+ #define stty(fd, buf) ioctl(fd, TIOCSETP, buf) -+ #endif -+ #endif -+ - main(argc, argv) - char *argv[]; - { -*** misc/magic.h.orig Tue Aug 2 15:18:15 1994 ---- misc/magic.h Sat Dec 17 15:31:52 1994 -*************** -*** 217,222 **** ---- 217,226 ---- - #define IS_LITTLE_ENDIAN /* Digital Alpha AXP */ - #endif - -+ #ifdef i386 -+ #define IS_LITTLE_ENDIAN /* i386 CPU */ -+ #endif -+ - /* Well, how'd we do? */ - - #if !defined(IS_BIG_ENDIAN) && !defined(IS_LITTLE_ENDIAN) -*************** -*** 298,304 **** - #ifdef SYSV - extern int sprintf(); - #else -! #ifndef ALPHA - extern char* sprintf(); - #endif - #endif ---- 302,308 ---- - #ifdef SYSV - extern int sprintf(); - #else -! #if !ALPHA && !__FreeBSD__ - extern char* sprintf(); - #endif - #endif -*** scmos/Makefile.ORIG Thu Aug 4 22:17:03 1994 ---- scmos/Makefile Thu Feb 23 18:54:29 1995 -*************** -*** 75,81 **** - uufile: $(SRC) - uuencode scmos_tech.tar.Z scmos_tech.tar.Z > scmos_tech.uu - -! clean:; - rm -f scmos.tech$(VERSION) scmos-ibm.tech$(VERSION) \ - scmos-hp.tech$(VERSION) *.tar.Z *.tar .version3 .version4 - ---- 75,81 ---- - uufile: $(SRC) - uuencode scmos_tech.tar.Z scmos_tech.tar.Z > scmos_tech.uu - -! clean: - rm -f scmos.tech$(VERSION) scmos-ibm.tech$(VERSION) \ - scmos-hp.tech$(VERSION) *.tar.Z *.tar .version3 .version4 - -*** doc/Makefile.ORIG Thu Aug 4 22:30:40 1994 ---- doc/Makefile Fri Feb 24 09:03:09 1995 -*************** -*** 106,109 **** - cd tutcells; make install CADDIR=${CADDIR} - - force: -! ---- 106,109 ---- - cd tutcells; make install CADDIR=${CADDIR} - - force: -! -*** doc/man/Makefile.ORIG Wed Jul 13 21:06:03 1994 ---- doc/man/Makefile Fri Feb 24 09:06:26 1995 -*************** -*** 206,209 **** - cp prleak.8 ${MANDIR}/man8 - - force: -! ---- 206,209 ---- - cp prleak.8 ${MANDIR}/man8 - - force: -! -*** graphics/Makefile.orig Mon Sep 19 23:41:19 1994 ---- graphics/Makefile Fri Feb 24 09:14:43 1995 -*************** -*** 10,16 **** - LIB= ${MAGICDIR}/lib - SYSLIB= ${CADDIR}/lib/magic/sys - BIN= ${CADDIR}/bin -! IFLAGS= -I. -I${H} -I/usr/openwin/include - # - # Configuration for flags and libraries - # ---- 10,16 ---- - LIB= ${MAGICDIR}/lib - SYSLIB= ${CADDIR}/lib/magic/sys - BIN= ${CADDIR}/bin -! IFLAGS= -I. -I${H} -I${X11BASE}/include - # - # Configuration for flags and libraries - # -*************** -*** 140,146 **** - installhelp: - @(for i in ${HELPER_PROGS}; \ - do \ -! make ${MFLAGS} CADDIR=${CADDIR} ${BIN}/$$i; \ - done) - - installhdrs: ${H}/${MODULE}.h ${H}/graphicsInt.h ${H}/glyphs.h \ ---- 140,146 ---- - installhelp: - @(for i in ${HELPER_PROGS}; \ - do \ -! ${MAKE} ${MFLAGS} CADDIR=${CADDIR} ${BIN}/$$i; \ - done) - - installhdrs: ${H}/${MODULE}.h ${H}/graphicsInt.h ${H}/glyphs.h \ -*** Makefile.orig Tue Sep 20 22:55:57 1994 ---- Makefile Fri Feb 24 14:58:41 1995 -*************** -*** 18,23 **** ---- 18,24 ---- - # - - SHELL=/bin/sh -+ MAKE=gmake - - # - # NOTE: tiles and tech must be before database in this list -*************** -*** 38,65 **** - :status Makefile READ_ME - DIRS = include cadlib - CMD = echo Need to define your command via 'make cmd CMD=command' -! CADDIR = `:findcad` - CADDIR_SUB = `../:findcad` - - everything: ${MODULES} .config - /bin/csh :makeall installhdrs ${MODULES} - /bin/csh :makeall install ${MODULES} - /bin/csh :makemains ${PROGRAMS} - - install: everything directories install-tech -! cd windows; make installcad CADDIR=${CADDIR_SUB} - cd doc; make installcad CADDIR=${CADDIR_SUB} -! /bin/csh :execmod "make installcad CADDIR=${CADDIR}" ${PROGRAMS} - - install-tech: -! cd scmos; make install CADDIR=${CADDIR_SUB} - - directories: -! :mkdir ${CADDIR}/bin -! :mkdir ${CADDIR}/lib -! :mkdir ${CADDIR}/lib/magic -! :mkdir ${CADDIR}/lib/magic/sys -! :mkdir ${CADDIR}/man - - # Remakes the binary in 'lib', if needed. Used for recompiling on - # a remote machine. ---- 39,68 ---- - :status Makefile READ_ME - DIRS = include cadlib - CMD = echo Need to define your command via 'make cmd CMD=command' -! CADDIR = `./:findcad` - CADDIR_SUB = `../:findcad` - -+ all: everything -+ - everything: ${MODULES} .config - /bin/csh :makeall installhdrs ${MODULES} - /bin/csh :makeall install ${MODULES} - /bin/csh :makemains ${PROGRAMS} - - install: everything directories install-tech -! cd windows; ${MAKE} installcad CADDIR=${CADDIR_SUB} - cd doc; make installcad CADDIR=${CADDIR_SUB} -! /bin/csh :execmod "${MAKE} installcad CADDIR=${CADDIR}" ${PROGRAMS} - - install-tech: -! cd scmos; ${MAKE} install CADDIR=${CADDIR_SUB} - - directories: -! ./:mkdir ${CADDIR}/bin -! ./:mkdir ${CADDIR}/lib -! ./:mkdir ${CADDIR}/lib/magic -! ./:mkdir ${CADDIR}/lib/magic/sys -! ./:mkdir ${CADDIR}/man - - # Remakes the binary in 'lib', if needed. Used for recompiling on - # a remote machine. -*************** -*** 146,149 **** - echo ${MODULES} - - forceit: -! ---- 149,152 ---- - echo ${MODULES} - - forceit: -! diff --git a/cad/magic/files/patch-ab b/cad/magic/files/patch-ab deleted file mode 100644 index 23fe0c22ad11..000000000000 --- a/cad/magic/files/patch-ab +++ /dev/null @@ -1,38 +0,0 @@ -*** :makeall.ORIG Thu Sep 13 22:22:01 1990 ---- :makeall Mon Feb 13 11:34:57 1995 -*************** -*** 11,17 **** - echo ------- Doing $mod ------- - echo -n "pushd " - pushd $mod -! make -k $name - echo -n "popd " - popd - end ---- 11,17 ---- - echo ------- Doing $mod ------- - echo -n "pushd " - pushd $mod -! gmake -k $name - echo -n "popd " - popd - end -*** :makemains.ORIG Thu Sep 13 22:22:01 1990 ---- :makemains Mon Feb 13 11:35:29 1995 -*************** -*** 10,16 **** - echo ------- Doing program $mod ------- - echo -n "pushd " - pushd $mod -! make -k - echo -n "popd " - popd - end ---- 10,16 ---- - echo ------- Doing program $mod ------- - echo -n "pushd " - pushd $mod -! gmake -k - echo -n "popd " - popd - end diff --git a/cad/magic/pkg-descr b/cad/magic/pkg-descr index e16b141fec0c..967afeb6aff8 100644 --- a/cad/magic/pkg-descr +++ b/cad/magic/pkg-descr @@ -1,5 +1,3 @@ -Magic 6.4.4 - Magic is an interactive editor for VLSI layouts that runs under BSD. To run magic, users should set CAD_HOME to the base installation directory diff --git a/cad/magic/pkg-plist b/cad/magic/pkg-plist index cb294b4d96e5..423d2674417e 100644 --- a/cad/magic/pkg-plist +++ b/cad/magic/pkg-plist @@ -1,25 +1,20 @@ bin/magic -bin/ext2dlys bin/ext2spice bin/ext2sim -bin/fsleeper bin/magicusage bin/net2ir bin/extcheck bin/X11Helper +bin/spice2sim man/man8/prleak.8.gz -man/man1/ext2dlys.1.gz man/man1/ext2spice.1.gz man/man1/extcheck.1.gz man/man1/magic.1.gz man/man1/magicusage.1.gz -man/man1/grsunprog.1.gz man/man1/ext2sim.1.gz man/man1/net2ir.1.gz man/man1/rsleeper.1.gz -man/man1/sim2spice.1.gz man/man1/sleeper.1.gz -man/man1/fsleeper.1.gz man/man5/cmap.5.gz man/man5/displays.5.gz man/man5/dlys.5.gz @@ -47,10 +42,7 @@ man/man3/stack.3.gz man/man3/string.3.gz lib/mpack.h lib/libmpack.a -lib/magic/sys/scmos.tech lib/magic/sys/scmos.tech26 -lib/magic/sys/scmos-ibm.tech26 -lib/magic/sys/scmos-hp.tech26 lib/magic/sys/mos.7bit.dstyle5 lib/magic/sys/mos.7bit.std.cmap1 lib/magic/sys/windows7.glyphs @@ -60,6 +52,13 @@ lib/magic/sys/windows22.glyphs lib/magic/sys/.magic lib/magic/sys/bw.glyphs lib/magic/sys/color.glyphs +lib/magic/sys/scmos-sub.tech26 +lib/magic/sys/scmos-sub.tech27 +lib/magic/sys/scmos-tm.tech26 +lib/magic/sys/scmos-tm.tech27 +lib/magic/sys/scmos.tech27 +lib/magic/sys/scmosWR.tech26 +lib/magic/sys/scmosWR.tech27 lib/magic/tutorial/m3a.mag lib/magic/tutorial/tut11c.ext lib/magic/tutorial/tut11b.ext diff --git a/cad/magic/scripts/post-configure b/cad/magic/scripts/post-configure index f7788e4811ea..6717a12e1681 100644 --- a/cad/magic/scripts/post-configure +++ b/cad/magic/scripts/post-configure @@ -1,9 +1,14 @@ #!/bin/sh # -# $Id: post-configure,v 1.1.1.1 1994/12/18 21:12:09 swallace Exp $ +# $Id: post-configure,v 1.2 1995/03/04 21:46:18 swallace Exp $ # -cp ${CURDIR}/files/vfont.h ${WRKSRC}/include -echo echo $PREFIX > ${WRKSRC}/:findcad -chmod -R a+rX ${WRKSRC} -date > ${WRKSRC}/.config +echo -DX11 -DPARANOID >${WRKSRC}/misc/DFLAGS +echo -I${X11BASE}/include -O2 >${WRKSRC}/misc/CFLAGS +echo -L${X11BASE}/lib -lX11 -lm >${WRKSRC}/magic/LIBS +echo -x >${WRKSRC}/magic/:ldx +echo /usr/libexec/cpp -P -traditional >${WRKSRC}/scmos/:cpp +echo echo $PREFIX >${WRKSRC}/:findcad +echo echo ranlib >${WRKSRC}/:ranlib +echo "all: everything" >>${WRKSRC}/Makefile +date >${WRKSRC}/.config |