Bug 109077 - patch to graphics/djvulibre to respect QT_PREFIX
Summary: patch to graphics/djvulibre to respect QT_PREFIX
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Rong-En Fan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-12 10:30 UTC by Rashid N. Achilov
Modified: 2007-02-12 12:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rashid N. Achilov 2007-02-12 10:30:07 UTC
Port graphics/djvulibre does not respect QT_PREFIX. When qt lies not at default
location, build breaks, because it cannot find qt.

Fix: 

@@ -45,7 +45,7 @@
 .if !defined(WITHOUT_X11)
 USE_XLIB=	yes
 USE_QT_VER=	3
-CONFIGURE_ENV+=	QTLIBS="-L${X11BASE}/lib -lqt-mt"
+CONFIGURE_ENV+=	QTLIBS="-L${QT_PREFIX}/lib -lqt-mt"
 MAN1+=		djview3.1 nsdejavu.1
 MLINKS+=	djview3.1 djview.1
 PLIST_SUB+=	X11=''--uWNUxf2w4s8TXqJjYcj5ovIq06mVexW4uMwPx23v3mO2ql4A
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile.old	Mon Feb 12 15:30:00 2007
+++ Makefile	Mon Feb 12 15:30:40 2007
@@ -29,7 +29,7 @@
 		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
 		PTHREAD_LIBS="${PTHREAD_LIBS}" \
 		CXX="${CXX}" \
-		QTDIR="${X11BASE}"
+		QTDIR="${QT_PREFIX}"
 CONFIGURE_ARGS=	--enable-threads=pthread --enable-shared
 USE_LDCONFIG=	yes
How-To-Repeat: Install qt at non-standard location, i.e /usr/X11/qt33.
Try to build djvulibre, even QT_PREFIX was setup properly
Comment 1 Rong-En Fan freebsd_committer 2007-02-12 12:39:01 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rafan

Eat.
Comment 2 Rong-En Fan freebsd_committer 2007-02-12 12:42:13 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer 2007-02-12 12:42:16 UTC
rafan       2007-02-12 12:42:07 UTC

  FreeBSD ports repository

  Modified files:
    graphics/djvulibre   Makefile 
  Log:
  - Respect QT_PREFIX
  
  PR:             ports/109077
  Submitted by:   Rashid N. Achilov <shelton at master.askd.ru>
  
  Revision  Changes    Path
  1.50      +2 -3      ports/graphics/djvulibre/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"