ports/109077: patch to graphics/djvulibre to respect QT_PREFIX
Rashid N. Achilov
shelton at master.askd.ru
Mon Feb 12 10:30:10 UTC 2007
>Number: 109077
>Category: ports
>Synopsis: patch to graphics/djvulibre to respect QT_PREFIX
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 12 10:30:07 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Rashid N. Achilov
>Release: FreeBSD 6.1-RELEASE i386
>Organization:
LLC "AS-System Complex"
>Environment:
System: FreeBSD to-495.askd.ru 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Tue Oct 31 13:28:26 NOVT 2006 root at sentry.askd.ru:/usr/obj/usr/src/sys/Sentry i386
>Description:
Port graphics/djvulibre does not respect QT_PREFIX. When qt lies not at default
location, build breaks, because it cannot find qt.
>How-To-Repeat:
Install qt at non-standard location, i.e /usr/X11/qt33.
Try to build djvulibre, even QT_PREFIX was setup properly
>Fix:
--- 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
@@ -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=''
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list