mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
To always find libmagic.so in sysutils/file in [4567].x.
PR: ports/96782 Submitted by: Rong-En Fan <rafan@infor.org>
This commit is contained in:
parent
cfc515375f
commit
10e69259c2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=161691
@ -7,14 +7,15 @@
|
||||
|
||||
PORTNAME= magicfilter
|
||||
PORTVERSION= 2.3.h
|
||||
PORREVISION= 1
|
||||
CATEGORIES= print
|
||||
MASTER_SITES= http://www.pell.portland.or.us/~orc/Code/magicfilter/
|
||||
|
||||
MAINTAINER= cjh@FreeBSD.org
|
||||
COMMENT= Customizable, extensible automatic printer filter
|
||||
|
||||
LIB_DEPENDS= magic.1:${PORTSDIR}/sysutils/file
|
||||
RUN_DEPENDS= ${LOCALBASE}/bin/file:${PORTSDIR}/sysutils/file
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libmagic.so:${PORTSDIR}/sysutils/file
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
USE_GHOSTSCRIPT= yes
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
- AC_SUB MAGIC_HEADER ""
|
||||
- AC_SUB MAGIC_LIB ""
|
||||
+ AC_SUB MAGIC_HEADER "-I${LOCALBASE}/include"
|
||||
+ AC_SUB MAGIC_LIB "-L${LOCALBASE}/lib"
|
||||
+ AC_SUB MAGIC_LIB "-L${LOCALBASE}/lib -Wl,-rpath -Wl,${LOCALBASE}/lib"
|
||||
AC_SUB MAKE_MAGIC ":"
|
||||
AC_SUB CFMAGIC ""
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user