Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2014 13:19:58 +0900
From:      Takefu <takefu@airport.fm>
To:        freebsd-gnats-submit@freebsd.org
Cc:        gnome@FreeBSD.org
Subject:   ports/186674: [PATCH] devel/gamin: fix StageDir
Message-ID:  <52FAF66E.9020908@airport.fm>
Resent-Message-ID: <201402120430.s1C4U0tu034310@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186674
>Category:       ports
>Synopsis:       [PATCH] devel/gamin: fix StageDir
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 12 04:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Takefu
>Release:        FreeBSD 8.4-RELEASE-p7 i386
>Organization:
FOX Amateur Radio Club
>Environment:
System: FreeBSD RELENG84-ix86.localIPv4.airport.fm 8.4-RELEASE-p7 FreeBSD 8.4-RELEASE-p7 #0: Wed Jan 15 09:30:02 JST 2014
>Description:
  Convert to staging.
    gamin
    py-gamin

Port maintainer (gnome@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- gamin-0.1.10_6.patch begins here ---
diff -ruN /usr/ports/devel/gamin/Makefile ./Makefile
--- /usr/ports/devel/gamin/Makefile	2014-01-05 08:40:44.000000000 +0900
+++ ./Makefile	2014-02-12 12:49:53.000000000 +0900
@@ -11,6 +11,8 @@
 MAINTAINER?=	gnome@FreeBSD.org
 COMMENT?=	A file and directory monitoring system

+#LICENSE=	LGPLv20
+
 USES+=		gettext gmake pathfix pkgconfig
 USE_AUTOTOOLS=	libtool
 USE_GNOME?=	glib20
@@ -32,7 +34,6 @@
 RUN_AS_EUID_DESC=Drop privileges to effective user
 .endif

-NO_STAGE=	yes
 .include <bsd.port.options.mk>

 .if !defined(GAMIN_SLAVE)
@@ -43,7 +44,7 @@
 .if ${PORT_OPTIONS:MLIBINOTIFY}
 CONFIGURE_ARGS+=--enable-inotify
 LDFLAGS+=	-L${LOCALBASE}/lib -linotify
-LIB_DEPENDS+=	inotify:${PORTSDIR}/devel/libinotify
+LIB_DEPENDS+=	libinotify.so:${PORTSDIR}/devel/libinotify
 .else
 CONFIGURE_ARGS+=--disable-inotify
 .endif
--- gamin-0.1.10_6.patch ends here ---

--- py27-gamin-0.1.10_2.patch begins here ---
diff -ruN /usr/ports/devel/py-gamin/Makefile ./Makefile
--- /usr/ports/devel/py-gamin/Makefile	2014-01-05 08:40:44.000000000 +0900
+++ ./Makefile	2014-02-12 12:58:17.000000000 +0900
@@ -8,6 +8,8 @@
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Python interface to the Gamin file monitoring system

+#LICENSE=	LGPLv20
+
 MASTERDIR=	${.CURDIR}/../gamin
 BUILD_WRKSRC=	${WRKSRC}/python
 INSTALL_WRKSRC=	${BUILD_WRKSRC}
@@ -21,9 +23,8 @@
 CONFIGURE_ARGS=	--with-python=${PYTHON_CMD} \
 		--disable-gtk-doc --with-html-dir=${PREFIX}/share/doc

-NO_STAGE=	yes
 post-install:
-	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${PYTHON_SITELIBDIR}
-	@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -l ${PYTHON_SITELIBDIR}
+	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${STAGEDIR}${PYTHON_SITELIBDIR}
+	@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -l ${STAGEDIR}${PYTHON_SITELIBDIR}

 .include "${MASTERDIR}/Makefile"
--- py27-gamin-0.1.10_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52FAF66E.9020908>