diff options
author | John Polstra <jdp@FreeBSD.org> | 2004-12-29 18:38:16 +0000 |
---|---|---|
committer | John Polstra <jdp@FreeBSD.org> | 2004-12-29 18:38:16 +0000 |
commit | 415677b43a72fee998bf9a679938fd3afa4e1d1b (patch) | |
tree | d18cc6d4511ea0c8906c6186226e25b9064d03c5 /cad/spice/files | |
parent | Add xvnkb 0.2.8, a Vietnamese input method for X-Window. (diff) |
Allow the spice port to be built without X11 support by defining
WITHOUT_X11.
Notes
Notes:
svn path=/head/; revision=125453
Diffstat (limited to 'cad/spice/files')
-rw-r--r-- | cad/spice/files/FreeBSD.without_x11 | 11 | ||||
-rw-r--r-- | cad/spice/files/Makefile | 11 |
2 files changed, 20 insertions, 2 deletions
diff --git a/cad/spice/files/FreeBSD.without_x11 b/cad/spice/files/FreeBSD.without_x11 new file mode 100644 index 000000000000..86d5651c97d8 --- /dev/null +++ b/cad/spice/files/FreeBSD.without_x11 @@ -0,0 +1,11 @@ +# FreeBSD config exception file (non-x11 version) + +MAKE = /usr/bin/make +INTERFACE_OPTS = -DWANT_MFB +CC = @CC@ +CC_OPT += @CFLAGS@ +LDFLAGS += -lm -ltermcap +SYS_CFLAGS = -Dbsd +X_DIR = +INCX = +LIBX = diff --git a/cad/spice/files/Makefile b/cad/spice/files/Makefile index 1e1f6d0f0e3c..a93fdab4e7ad 100644 --- a/cad/spice/files/Makefile +++ b/cad/spice/files/Makefile @@ -1,11 +1,18 @@ # # $FreeBSD$ # + +.ifdef WITHOUT_X11 +CONFIG= FreeBSD.without_x11 +.else +CONFIG= FreeBSD +.endif + all: - util/build FreeBSD default + util/build ${CONFIG} default install: - util/build FreeBSD install + util/build ${CONFIG} install chmod a+rx ${PREFIX}/bin/spice3 ${PREFIX}/bin/nutmeg \ ${PREFIX}/bin/sconvert ${PREFIX}/bin/help \ ${PREFIX}/bin/proc2mod ${PREFIX}/bin/multidec |