Use the new libviet port in building.

This commit is contained in:
David E. O'Brien 2001-02-11 22:15:17 +00:00
parent 6fba068a86
commit db5b0a31a2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38230
3 changed files with 15 additions and 16 deletions

View File

@ -17,9 +17,15 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= obrien@FreeBSD.org
CFLAGS+= -I../../include
BUILD_DEPENDS= ${LOCALBASE}/lib/libviqr.a:${PORTSDIR}/vietnamese/libviet
CFLAGS+= -I${PREFIX}/include/viet
MAN1= vn7to8.1 vn8to7.1 vn80to81.1
post-extract:
@ ${MV} ${WRKDIR}/lib ${WRKDIR}/DONT.lib
@ ${MV} ${WRKDIR}/include ${WRKDIR}/DONT.include
post-install:
@${INSTALL_MAN} ${FILESDIR}/vn7to8.1 ${PREFIX}/man/man1
@${INSTALL_MAN} ${FILESDIR}/vn80to81.1 ${PREFIX}/man/man1

View File

@ -1,10 +1,14 @@
--- Makefile.orig Mon Sep 14 15:49:45 1992
+++ Makefile Wed Dec 4 02:54:53 1996
@@ -6,7 +6,7 @@
+++ Makefile Sun Feb 11 14:13:39 2001
@@ -4,9 +4,9 @@
SHELL = /bin/sh
CC = cc
VNLIBDIR= ../lib
VNINCDIR= ../include
-VNLIBDIR= ../lib
-VNINCDIR= ../include
-BINDIR = /local/usr/bin
+VNLIBDIR= $(PREFIX)/lib
+VNINCDIR= $(PREFIX)/include/viet
+BINDIR = ${PREFIX}/bin
LIBS = $(VNLIBDIR)/libviqr.a $(VNLIBDIR)/libvntype.a

View File

@ -1,11 +0,0 @@
--- ../lib/vntype/Makefile.orig Tue Jan 5 22:18:07 1993
+++ ../lib/vntype/Makefile Wed Dec 4 03:02:33 1996
@@ -15,7 +15,7 @@
#FLAGS = -DNOANSI_C
CFLAGS = $(FLAGS) $(INC)
CC = cc
-CPP = /lib/cpp
+CPP = cpp
.c.o:
$(CC) $(CFLAGS) -c $*.c