Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  8 Sep 2000 14:35:38 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/21137: Update port: emulators/fmsx
Message-ID:  <20000908213538.62ABE37B509@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         21137
>Category:       ports
>Synopsis:       Update port: emulators/fmsx
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 08 14:40:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.1-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CC/CFLAGS properly

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/emulators/fmsx/patches/patch-aa emulators/fmsx/patches/patch-aa
--- /usr/ports/emulators/fmsx/patches/patch-aa	Thu Aug 17 04:34:30 2000
+++ emulators/fmsx/patches/patch-aa	Thu Aug 17 04:50:48 2000
@@ -1,15 +1,26 @@
---- Makefile.orig	Thu Aug  3 20:23:33 2000
-+++ Makefile	Wed Aug 16 17:24:53 2000
-@@ -44,10 +44,10 @@
+--- Makefile.orig	Fri Aug  4 02:23:33 2000
++++ Makefile	Thu Aug 17 04:50:41 2000
+@@ -43,11 +43,10 @@
+ # If you are getting linker errors about not found X11 functions,
  # change the -L/usr/X11R6/lib to the directory where X11
  # libraries libX11.* and libXext.* are located on your system.
- CC      = gcc
+-CC      = gcc
 -DEFINES = -DFMSX -DUNIX -DLSB_FIRST -DDEBUG -DMITSHM \
++CC      ?= gcc
 +DEFINES = -DFMSX -DUNIX -DLSB_FIRST -DMITSHM \
            -DDISK -DNARROW -DSOUND -DBPP16
- CFLAGS  = -O3 -fomit-frame-pointer \
+-CFLAGS  = -O3 -fomit-frame-pointer \
 -          -I/usr/X11/include -L/usr/X11/lib ${DEFINES}
-+          -I${X11BASE}/include -L${X11BASE}/lib ${DEFINES}
++CFLAGS  += -I${X11BASE}/include ${DEFINES}
  OBJECTS = fMSX.o MSX.o Z80.o AY8910.o SCC.o V9938.o Patch.o Debug.o \
            Disk.o Unix.o LibUnix.o SndUnix.o MIDI.o
  
+@@ -63,7 +62,7 @@
+ # fMSX Unix/X requires X11 libraries. See note above if you are
+ # experiencing any problems.
+ fmsx:	${OBJECTS}
+-	${CC} ${CFLAGS} -o fmsx ${OBJECTS} -lXext -lX11
++	${CC} ${CFLAGS} -o fmsx ${OBJECTS} -lXext -lX11 -L${X11BASE}/lib
+ 
+ # Clean up.
+ clean:


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000908213538.62ABE37B509>