[csw-devel] SF.net SVN: gar:[10122] csw/mgar/pkg/TEMPLATES/createpkg/Makefile.lib
theferret at users.sourceforge.net
theferret at users.sourceforge.net
Tue Jun 8 03:49:26 CEST 2010
Revision: 10122
http://gar.svn.sourceforge.net/gar/?rev=10122&view=rev
Author: theferret
Date: 2010-06-08 01:49:25 +0000 (Tue, 08 Jun 2010)
Log Message:
-----------
createpkg: fixed syntax err
Modified Paths:
--------------
csw/mgar/pkg/TEMPLATES/createpkg/Makefile.lib
Modified: csw/mgar/pkg/TEMPLATES/createpkg/Makefile.lib
===================================================================
--- csw/mgar/pkg/TEMPLATES/createpkg/Makefile.lib 2010-06-08 01:38:34 UTC (rev 10121)
+++ csw/mgar/pkg/TEMPLATES/createpkg/Makefile.lib 2010-06-08 01:49:25 UTC (rev 10122)
@@ -43,9 +43,10 @@
CONFIGURE_64_sparc= --libexecdir=/opt/csw/libexec/sparcv9
CONFIGURE_64_i386= --libexecdir=/opt/csw/libexec/amd64
-
CONFIGURE_64_EXTRAS:= --libdir=/opt/csw/lib/64 $(CONFIGURE_64_$(ARCH))
+LDFLAGS_64_sparc := -R/opt/csw/lib/sparcv9 -L/opt/csw/lib/sparcv9
+LDFLAGS_64_i386 := -R/opt/csw/lib/amd64 -L/opt/csw/lib/amd64
CREATEPKG=createpkg -r `pwd`/build/*/cswstage
@@ -153,7 +154,7 @@
(cd $(SRCDIR) ; \
CFLAGS="$(CFLAGS_COMMON) -m64" \
CXXFLAGS="$(CXXFLAGS_COMMON) -m64" \
- LDFLAGS='-R/opt/csw/lib/sparcv9 -L/opt/csw/lib/sparcv9' \
+ LDFLAGS="$(LDFLAGS_64_$(ARCH))" \
PKG_CONFIG_PATH=/opt/csw/lib/64 \
$(CONFIGURE) $(CONFIGURE_64_EXTRAS) )
if test -f patchfile.postconf ; then \
@@ -161,7 +162,7 @@
touch $@
-# See note about LDFLAGS higher up
+# See note about LDFLAGS and ORIGIN, higher up
build/.build-$(ARCH)-32.done build/.build-$(ARCH)-64.done:
@echo handling $@ target
LD_OPTIONS='-R$$ORIGIN' $(MAKE) -C $(SRCDIR) $(MFLAGS)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list