r18251 - /trunk/libgtk2-imageview-perl/debian/rules

ra28145-guest at users.alioth.debian.org ra28145-guest at users.alioth.debian.org
Tue Apr 1 18:37:58 UTC 2008


Author: ra28145-guest
Date: Tue Apr  1 18:37:58 2008
New Revision: 18251

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18251
Log:
another attempt to get LDFLAGS to work

Modified:
    trunk/libgtk2-imageview-perl/debian/rules

Modified: trunk/libgtk2-imageview-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgtk2-imageview-perl/debian/rules?rev=18251&op=diff
==============================================================================
--- trunk/libgtk2-imageview-perl/debian/rules (original)
+++ trunk/libgtk2-imageview-perl/debian/rules Tue Apr  1 18:37:58 2008
@@ -5,7 +5,7 @@
 # be used freely wherever it is useful.
 
 # Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+export DH_VERBOSE=1
 
 # If set to a true value then MakeMaker's prompt function will
 # always return the default without waiting for user input.
@@ -14,7 +14,6 @@
 PERL   ?= /usr/bin/perl
 PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
-LDFLAGS = -Wl,--as-needed
 
 # Allow disabling build optimisation by setting noopt in
 # $DEB_BUILD_OPTIONS
@@ -30,7 +29,7 @@
 	dh_testdir
 	# Add commands to compile the package here
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH="" LDFLAGS="-Wl,--as-needed"
 	xvfb-run $(MAKE) test
 	touch $@
 




More information about the Pkg-perl-cvs-commits mailing list