1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

- fix build for amd64

Approved by:	(implizit by mainatiner)
This commit is contained in:
Dirk Meyer 2010-01-22 09:55:56 +00:00
parent cdc51f7079
commit 3ad72ebd62
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248353
2 changed files with 16 additions and 5 deletions

View File

@ -28,13 +28,11 @@ USE_XORG= x11 sm ice xext xextproto
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --x-includes=${LOCALBASE}/include \
--x-libraries=${LOCALBASE}/lib
ALL_TARGET= all fnttobdf tosfonts fonts
pre-build:
${CP} ${DISTDIR}/${TOSIMG} ${WRKSRC}/tos.img
post-build:
(cd ${WRKSRC}; make fnttobdf fonts)
# Installing
#
BINDIR= ${PREFIX}/bin

View File

@ -1,5 +1,5 @@
--- Makefile.in.orig Sat Oct 16 19:24:54 1999
+++ Makefile.in Sat Oct 16 19:25:26 1999
--- Makefile.in.orig 1997-05-24 22:49:30.000000000 +0200
+++ Makefile.in 2010-01-22 10:38:08.000000000 +0100
@@ -28,7 +28,7 @@
#XLIBS=@X_LIBS@ -lvgagl -lvga
#SFLAGS=-DUSE_SVGALIB
@ -9,3 +9,16 @@
DEF= @def@ -DINLINE=@inline@ -DSTONXDIR=\"$(STONXDIR)\"
# Compiler
@@ -117,10 +117,10 @@
$(SCC) @static@ -o $@ $(OBJ) $(MOREOBJ) $(XLIBS) @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@ @xtra@
fnttobdf: fnttobdf.c
- $(CC) -o $@ fnttobdf.c $(XLIBS) @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@
+ $(CC) -o $@ fnttobdf.c $(CFLAGS) $(XLIBS) @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@
tosfonts: tosfonts.c
- $(CC) -o $@ tosfonts.c $(XLIBS) @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@
+ $(CC) -o $@ tosfonts.c $(CFLAGS) $(XLIBS) @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@
clean:
rm -f $(OBJ) $(MOREOBJ) stonx mon.out gmon.out fonts-done.stmp