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

ra28145-guest at users.alioth.debian.org ra28145-guest at users.alioth.debian.org
Tue Apr 1 19:33:43 UTC 2008


Author: ra28145-guest
Date: Tue Apr  1 19:33:41 2008
New Revision: 18253

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18253
Log:
setting LDLOADLIBS to lose dpkg-shlibdeps warnings

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=18253&op=diff
==============================================================================
--- trunk/libgtk2-imageview-perl/debian/rules (original)
+++ trunk/libgtk2-imageview-perl/debian/rules Tue Apr  1 19:33:41 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.
@@ -18,6 +18,7 @@
 # Allow disabling build optimisation by setting noopt in
 # $DEB_BUILD_OPTIONS
 CFLAGS = -Wall -g
+LDLOADLIBS = -lgtkimageview -lgtk-x11-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lX11 -lXfixes -lgobject-2.0
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
         CFLAGS += -O0
 else
@@ -28,8 +29,8 @@
 build-stamp:
 	dh_testdir
 	# Add commands to compile the package here
-	$(PERL) Makefile.PL INSTALLDIRS=vendor LDFLAGS="-Wl,--as-needed"
-	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH="" LDLOADLIBS="$(LDLOADLIBS)"
 	xvfb-run $(MAKE) test
 	touch $@
 




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