aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-02-10 22:14:58 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-02-10 22:14:58 +0000
commit138a7bbad2b3645fb87e49a593569164a206428b (patch)
tree36912ae62308b343a77aa61e914468236c5e30a5
parentb209e2f99fe6d3bfb73265739601f1898e8b9503 (diff)
downloadports-138a7bbad2b3645fb87e49a593569164a206428b.tar.gz
ports-138a7bbad2b3645fb87e49a593569164a206428b.zip
Notes
-rw-r--r--devel/gnome-vfs/Makefile8
-rw-r--r--devel/gnomevfs2/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/devel/gnome-vfs/Makefile b/devel/gnome-vfs/Makefile
index e5b4258219bf..1bdefdfd22c3 100644
--- a/devel/gnome-vfs/Makefile
+++ b/devel/gnome-vfs/Makefile
@@ -34,9 +34,12 @@ CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
.include <bsd.port.pre.mk>
-.if exists(${LOCALBASE}/lib/libcdda_paranoia.so.0)
+.if exists(${LOCALBASE}/lib/libcdda_paranoia.a)
WITH_CDPARANOIA= yes
.endif
+.if exists(${LOCALBASE}/lib/libfam.a)
+WITH_FAM= yes
+.endif
.if defined(WITH_CDPARANOIA)
LIB_DEPENDS+= cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia
@@ -44,6 +47,9 @@ PLIST_SUB+= CDPARANOIA=""
.else
PLIST_SUB+= CDPARANOIA="@comment "
.endif
+.if defined(WITH_FAM)
+LIB_DEPENDS+= fam.0:${PORTSDIR}/devel/fam
+.endif
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
diff --git a/devel/gnomevfs2/Makefile b/devel/gnomevfs2/Makefile
index e5b4258219bf..1bdefdfd22c3 100644
--- a/devel/gnomevfs2/Makefile
+++ b/devel/gnomevfs2/Makefile
@@ -34,9 +34,12 @@ CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
.include <bsd.port.pre.mk>
-.if exists(${LOCALBASE}/lib/libcdda_paranoia.so.0)
+.if exists(${LOCALBASE}/lib/libcdda_paranoia.a)
WITH_CDPARANOIA= yes
.endif
+.if exists(${LOCALBASE}/lib/libfam.a)
+WITH_FAM= yes
+.endif
.if defined(WITH_CDPARANOIA)
LIB_DEPENDS+= cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia
@@ -44,6 +47,9 @@ PLIST_SUB+= CDPARANOIA=""
.else
PLIST_SUB+= CDPARANOIA="@comment "
.endif
+.if defined(WITH_FAM)
+LIB_DEPENDS+= fam.0:${PORTSDIR}/devel/fam
+.endif
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure