Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 1996 00:18:01 -0700
From:      "David E. O'Brien" <obrien@Nuxi.cs.ucdavis.edu>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/1185: resubmition - mods to vim-3.0 port (aka ports/1109)
Message-ID:  <199605100718.AAA13176@relay.nuxi.com>
Resent-Message-ID: <199605100720.AAA28183@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         1185
>Category:       ports
>Synopsis:       mods to vim-3.0 port (aka ports/1109)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 10 00:20:01 PDT 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?199605100718.AAA13176>