From 2b9e59310f05b475b3e3a6ce9b1d35f649444895 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sun, 17 Nov 1996 00:25:26 +0000 Subject: [PATCH] Added PATCH_DIST_STRIP to sample Makefile. Moved IS_INTERACTIVE earlier in the example since it can be quite important. --- handbook/porting.sgml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/handbook/porting.sgml b/handbook/porting.sgml index f0d668b9ab..3436097a29 100644 --- a/handbook/porting.sgml +++ b/handbook/porting.sgml @@ -1,4 +1,4 @@ - + Porting an existing piece of free software @@ -1182,10 +1182,13 @@ lib/libtcl.so.7.3 [this section is for other standard bsd.port.mk variables that do not belong to any of the above] - [If it extracts to a directory other than ${DISTNAME}...] - WRKSRC= ${WRKDIR}/xdvi-new [If it asks questions during configure, build, install...] IS_INTERACTIVE= yes + [If it extracts to a directory other than ${DISTNAME}...] + WRKSRC= ${WRKDIR}/xdvi-new + [If the distributed patches were not made relative to ${WRKSRC}, you may need + to tweak this] + PATCH_DIST_STRIP= -p1 [If it requires a "configure" script generated by GNU autoconf to be run...] GNU_CONFIGURE= yes [If it requires GNU make, not /usr/bin/make, to build...]