pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[PATCH] Re: pkg/28281: pkgviews breaks when LOCALBASE is a symlink



The following patch solves this problem.  I am not at all sure
that this is the right solution.

Index: mk/buildlink3/bsd.buildlink3.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/buildlink3/bsd.buildlink3.mk,v
retrieving revision 1.161
diff -a -u -r1.161 bsd.buildlink3.mk
--- mk/buildlink3/bsd.buildlink3.mk     12 Nov 2004 20:25:41 -0000      1.161
+++ mk/buildlink3/bsd.buildlink3.mk     13 Nov 2004 20:12:57 -0000
@@ -957,7 +957,9 @@
 # Explicitly remove everything else that's an absolute path, since we've
 # already protected the ones we care about.
 #
+.if ${PKG_INSTALLATION_TYPE} == "override"
 _BLNK_TRANSFORM+=       no-abspath
+.endif
 #
 # Undo the protection for the directories that we allow to be specified
 # for the runtime library search path.




Home | Main Index | Thread Index | Old Index