diff options
author | taoka <taoka@FreeBSD.org> | 2001-07-05 19:49:03 +0000 |
---|---|---|
committer | taoka <taoka@FreeBSD.org> | 2001-07-05 19:49:03 +0000 |
commit | da6f6faa06675f867cf6d32d180250550c6728ba (patch) | |
tree | 54390aa8a6e2093529ae9c003949945bbb35d881 /japanese/jvim3/Makefile | |
parent | f7578c6a9d680a026711f181e5f2314eee141059 (diff) | |
download | FreeBSD-ports-da6f6faa06675f867cf6d32d180250550c6728ba.zip FreeBSD-ports-da6f6faa06675f867cf6d32d180250550c6728ba.tar.gz |
Support WITHOUT_X11=yes
Submitted by: nork@cityfujisawa.ne.jp (Norikatsu Shigemura)
Obtained from: ports-jp@jp.freebsd.org
Diffstat (limited to 'japanese/jvim3/Makefile')
-rw-r--r-- | japanese/jvim3/Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/japanese/jvim3/Makefile b/japanese/jvim3/Makefile index 48e38b9..17ce58b 100644 --- a/japanese/jvim3/Makefile +++ b/japanese/jvim3/Makefile @@ -16,8 +16,6 @@ DISTFILES= vim-3.0.tar.gz \ MAINTAINER= taoka@FreeBSD.org -USE_XLIB= yes - NO_LATEST_LINK= YES # waiting for jgrep, jfold, jcat PATCHDIR= ${.CURDIR}/../jvim3/files FILESDIR= ${.CURDIR}/../jvim3/files @@ -33,9 +31,17 @@ JPATCH= jvim.2.1a.tar.gz PLIST_SUB= VERSION=${PORTVERSION} PORT_DOCDIR= ${PREFIX}/share/doc/ja-jvim-${PORTVERSION} # -DUSE_X11 is the cause of a problem treating Japanese -MACHINE= -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -CC= cc ${CFLAGS} -Wall -traditional -Dconst= -I${X11BASE}/include -LIBS= -ltermlib -lxpg4 -L${PREFIX}/lib -L${X11BASE}/lib -lX11 +MACHINE= -DBSD_UNIX -DUSE_LOCALE +CC= cc ${CFLAGS} -Wall -traditional -Dconst= +LIBS= -ltermlib -lxpg4 + +.if !defined(WITHOUT_X11) +USE_XLIB= yes +MACHINE+= -DUSE_X11 +CC+= -I${X11BASE}/include +LIBS+= -L${PREFIX}/lib -L${X11BASE}/lib -lX11 +.endif + # Specifying a velue INPUT_METHOD, and seting values BUILD_DEPENDS, # LIB_DEPENDS, etc. FEPOPT= -DJP_DEF=\"EEE\" |