View | Details | Raw Unified | Return to bug 96782
Collapse All | Expand All

(-)/home/rafan/tmp/ports/magicfilter/Makefile (-2 / +3 lines)
Lines 7-20 Link Here
7
7
8
PORTNAME=	magicfilter
8
PORTNAME=	magicfilter
9
PORTVERSION=	2.3.h
9
PORTVERSION=	2.3.h
10
PORTREVISION=	1
10
CATEGORIES=	print
11
CATEGORIES=	print
11
MASTER_SITES=	http://www.pell.portland.or.us/~orc/Code/magicfilter/
12
MASTER_SITES=	http://www.pell.portland.or.us/~orc/Code/magicfilter/
12
13
13
MAINTAINER=	cjh@FreeBSD.org
14
MAINTAINER=	cjh@FreeBSD.org
14
COMMENT=	Customizable, extensible automatic printer filter
15
COMMENT=	Customizable, extensible automatic printer filter
15
16
16
LIB_DEPENDS=	magic.1:${PORTSDIR}/sysutils/file
17
BUILD_DEPENDS=	${LOCALBASE}/lib/libmagic.so:${PORTSDIR}/sysutils/file
17
RUN_DEPENDS=	${LOCALBASE}/bin/file:${PORTSDIR}/sysutils/file
18
RUN_DEPENDS=	${BUILD_DEPENDS}
18
19
19
USE_GHOSTSCRIPT=	yes
20
USE_GHOSTSCRIPT=	yes
20
21
(-)/home/rafan/tmp/ports/magicfilter/files/patch-configure.sh (-1 / +1 lines)
Lines 15-21 Link Here
15
-    AC_SUB MAGIC_HEADER ""
15
-    AC_SUB MAGIC_HEADER ""
16
-    AC_SUB MAGIC_LIB ""
16
-    AC_SUB MAGIC_LIB ""
17
+    AC_SUB MAGIC_HEADER "-I${LOCALBASE}/include"
17
+    AC_SUB MAGIC_HEADER "-I${LOCALBASE}/include"
18
+    AC_SUB MAGIC_LIB "-L${LOCALBASE}/lib"
18
+    AC_SUB MAGIC_LIB "-L${LOCALBASE}/lib -Wl,-rpath -Wl,${LOCALBASE}/lib"
19
     AC_SUB MAKE_MAGIC ":"
19
     AC_SUB MAKE_MAGIC ":"
20
     AC_SUB CFMAGIC	""
20
     AC_SUB CFMAGIC	""
21
 fi
21
 fi

Return to bug 96782