mtools: do not link with X11

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4118 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Marcin Juszkiewicz
2008-03-26 09:03:34 +00:00
parent 678bf73f1d
commit 4bca8a4ca3
2 changed files with 22 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
---
Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- mtools-3.9.9.orig/Makefile.in
+++ mtools-3.9.9/Makefile.in
@@ -128,11 +128,11 @@ X_EXTRA_LIBS = @X_EXTRA_LIBS@
X_PRE_LIBS = @X_PRE_LIBS@
CFLAGS = $(CPPFLAGS) $(DEFS) $(MYCFLAGS) -I. @extraincludedir@ -I@srcdir@ $(USERCFLAGS)
CXXFLAGS = $(CPPFLAGS) $(DEFS) $(MYCXXFLAGS) -I. @extraincludedir@ -I@srcdir@ $(USERCFLAGS)
LINK = $(CC) $(LDFLAGS) $(USERLDFLAGS) @extralibdir@
ALLLIBS = $(USERLDLIBS) $(MACHDEPLIBS) $(SHLIB) $(LIBS)
-X_LDFLAGS = $(X_EXTRA_LIBS) $(X_LIBS) $(X_PRE_LIBS) -lXau -lX11 $(LIBS)
+X_LDFLAGS = $(X_EXTRA_LIBS) $(X_LIBS) $(X_PRE_LIBS) $(LIBS)
X_CCFLAGS = $(X_CFLAGS) $(CFLAGS)
all: mtools $(LINKS) mkmanifest @FLOPPYD@
%.o: %.c

View File

@@ -5,12 +5,13 @@
DESCRIPTION="Mtools is a collection of utilities for accessing MS-DOS disks from Unix without mounting them."
HOMEPAGE="http://mtools.linux.lu"
LICENSE="GPL"
PR = "r2"
PR = "r3"
#http://mtools.linux.lu/mtools-${PV}.tar.gz
SRC_URI="http://folks.o-hand.com/richard/poky/sources/mtools-${PV}.tar.gz \
file://mtools-makeinfo.patch;patch=1 \
file://mtools.patch;patch=1"
file://mtools.patch;patch=1 \
file://no-x11.patch;patch=1"
#DEPENDS = "tetex-native"