[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ports/1428: Fake install fails for gtar port.
>Number: 1428
>Category: ports
>Synopsis: Fake install fails for gtar port.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bugs
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 2 03:10:01 MDT 2000
>Last-Modified:
>Originator: Michael Paddon
>Organization:
net
>Release: current
>Environment:
System : OpenBSD 2.7
Architecture: OpenBSD.i386
Machine : i386
>Description:
A make install of the gtar port ignores the DESTDIR variable, and hence
buggers up the fake install.
>How-To-Repeat:
Do a make install of gtar on a vanilla 2.7.
Also breaks using a make built from the current tree.
>Fix:
The following patch, albeit agricultural, worked for me...
Index: Makefile
===================================================================
RCS file: /cvs/ports/archivers/gtar/Makefile,v
retrieving revision 1.17
diff -c -r1.17 Makefile
*** Makefile 2000/09/27 22:09:34 1.17
--- Makefile 2000/10/02 09:02:07
***************
*** 25,30 ****
--- 25,32 ----
FLAVORS= static
FLAVOR?=
+ FAKE_FLAGS= -e DESTDIR=${WRKINST}
+
.if ${FLAVOR:L:Mstatic}
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -static"
.else
>Audit-Trail:
>Unformatted: