pkgsrc-Bugs archive

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

pkg/41284: devel/scmgot-base fails to build [patch]

>Number:         41284
>Category:       pkg
>Synopsis:       devel/scmgot-base fails to build [patch]
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 25 15:35:00 +0000 2009
>Originator:     Aleksey Cheusov
>Release:        linux
Under Debian/Linux an installation phase ends like this (PKG_DEVELOPER=yes):

   => Checking for missing run-time search paths in scmgit-base-
   ERROR: /usr/pkg/bin/git: => not found
   ERROR: /usr/pkg/bin/git-receive-pack: => not found
   ERROR: /usr/pkg/bin/git-shell: => not found
   ERROR: *** The programs/libs shown above will not find the listed
   ERROR:     shared libraries at runtime.
   ERROR:     Please fix the package (add -Wl,-R.../lib in the right places)!

This happens because -R option is passed to gcc which is not supported.
Building phase contains lines like the following

   LINK git
   gcc: unrecognized option '-R/usr/pkg/lib'


The following patch fixes the problem

Index: Makefile
RCS file: /cvsroot/pkgsrc/devel/scmgit-base/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile    9 Jan 2009 13:42:15 -0000       1.16
+++ Makefile    25 Apr 2009 15:34:09 -0000
@@ -73,6 +73,8 @@
+MAKE_ENV+=             NO_R_TO_GCC_LINKER=1
 SUBST_CLASSES+=                fix-paths
 SUBST_FILES.fix-paths= templates/hooks--post-receive.sample
 SUBST_MESSAGE.fix-paths=Fixing hard-coded pathnames

Home | Main Index | Thread Index | Old Index