Date: Thu, 28 Mar 1996 15:01:03 -0800 From: "David E. O'Brien" <obrien@Nuxi.cs.ucdavis.edu> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/1109: mods to vim-3.0 port Message-ID: <199603282301.PAA03555@relay.nuxi.com> Resent-Message-ID: <199603282310.PAA16408@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 1109 >Category: ports >Synopsis: mods to vim-3.0 port >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 28 15:10:01 PST 1996 >Last-Modified: >Originator: David E. O'Brien >Organization: University of California, Davis >Release: FreeBSD 2.1.0-RELEASE i386 >Environment: ports-current >Description: The current Vim-3.0 port assumes you have X11R6 libraries around at compile/runtime. The current Vim-3.0 pkg assumes you have X11R6 libraries around at runtime. Currently the installed files do not adhear to hier(7). >How-To-Repeat: n/a >Fix: Replace current pkg/PLIST and patches/patch-aa with the following: PLIST: bin/vim share/misc/vim.hlp share/man/man1/vim.1.gz patch-aa: --- makefile.unix.orig Tue Aug 9 21:54:11 1994 +++ makefile.unix Thu Mar 28 14:36:26 1996 @@ -55,14 +55,17 @@ ### root directory for X11 files (unless overruled in hardware-dependend part) ### Unfortunately there is no standard for these, everybody puts them ### somewhere else -X11LIBDIR = /usr/openwin/lib -X11INCDIR = /usr/openwin/include +#X11LIBDIR = /usr/openwin/lib +#X11INCDIR = /usr/openwin/include ### for some hpux systems: #X11LIBDIR = /usr/lib/X11R5 #X11INCDIR = /usr/include/X11R5 +### for FreeBSD 2.x systems: +X11LIBDIR = /usr/X11R6/lib +X11INCDIR = /usr/X11R6/include ### Prefix for location of files -PREFIX = /usr/local +PREFIX += $(PREFIX) ### Location of binary BINLOC = $(PREFIX)/bin @@ -71,10 +74,10 @@ TARGET = vim ### Location of man page -MANLOC = $(PREFIX)/man/man1 +MANLOC = $(PREFIX)/share/man/man1 ### Location of help file -HELPLOC = $(PREFIX)/lib +HELPLOC = $(PREFIX)/share/misc ### Program to run on installed binary STRIP = strip @@ -157,9 +160,9 @@ # FreeBSD and NetBSD with Xfree (TESTED for FreeBSD) # standard cc with optimizer # -#MACHINE = -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -#CC=cc -O -L/usr/X386/lib -I/usr/X386/include -#LIBS = -ltermlib -lX11 +MACHINE = -DBSD_UNIX -DUSE_LOCALE # -DUSE_X11 +CC=cc -O -Wall # -I$(X11INCDIR) +LIBS = -ltermlib # -L$(X11LIBDIR) -lX11 # FreeBSD and NetBSD with Xfree (TESTED for FreeBSD) # gcc with optimizer >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603282301.PAA03555>