aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-08-01 21:11:45 +0800
committerarved <arved@FreeBSD.org>2003-08-01 21:11:45 +0800
commit1c98c9b64fca85f9cfbaa4f2e51324dd0e90f9e0 (patch)
treea0d96ef2944872168ae231feba4a30d37a1201bd
parent21b6d4fc82280306faa76a6b154e94a2d52800a3 (diff)
downloadfreebsd-ports-gnome-1c98c9b64fca85f9cfbaa4f2e51324dd0e90f9e0.tar.gz
freebsd-ports-gnome-1c98c9b64fca85f9cfbaa4f2e51324dd0e90f9e0.tar.zst
freebsd-ports-gnome-1c98c9b64fca85f9cfbaa4f2e51324dd0e90f9e0.zip
Utilize USE_GNOME.
PR: 55055 Submitted by: KATO Tsuguru <tkato@prontomail.com>
-rw-r--r--graphics/libgphoto2/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/libgphoto2/Makefile b/graphics/libgphoto2/Makefile
index 25c229e53117..91f3835337a3 100644
--- a/graphics/libgphoto2/Makefile
+++ b/graphics/libgphoto2/Makefile
@@ -14,17 +14,15 @@ MASTER_SITE_SUBDIR= gphoto
MAINTAINER= ports@FreeBSD.org
COMMENT= A universal digital camera picture control tool
-BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext \
usb-0.1.7:${PORTSDIR}/devel/libusb \
exif.9:${PORTSDIR}/graphics/libexif
-RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
USE_BZIP2= yes
USE_REINPLACE= yes
+USE_GNOME= gnometarget pkgconfig
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
@@ -35,7 +33,7 @@ post-patch:
.for file in configure libgphoto2_port/configure
@${REINPLACE_CMD} -e \
's|[{]libdir[}]/pkgconfig|{prefix}/libdata/pkgconfig|g ; \
- s|-g -Wall||g' ${WRKSRC}/${file}
+ s|-g ||g' ${WRKSRC}/${file}
.endfor
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|po packaging doc|po doc|g ; \