Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Jul 2014 10:19:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 191688] New: [ staging ] www/squidstats
Message-ID:  <bug-191688-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191688

            Bug ID: 191688
           Summary: [ staging ] www/squidstats
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Many People
          Priority: Normal
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: dan@obluda.cz

www/squidstats require staging or will be removed

Fix:
Patch is attached. 

--- www/squidstats/Makefile.orig    2014-07-07 11:56:42.000000000 +0200
+++ www/squidstats/Makefile    2014-07-07 12:15:49.000000000 +0200
@@ -23,13 +23,14 @@
 SUB_FILES=    pkg-message pkg-install
 SUB_LIST+=    SQUID_UID=${SQUID_UID} SQUID_GID=${SQUID_GID}

-NO_STAGE=    yes
+MAKE_ARGS+=    PREFIX="${STAGEDIR}${PREFIX}"
+
 pre-install:
-    @${SETENV} PKG_PREFIX=${PREFIX} ${SH} \
+    @${SETENV} PKG_PREFIX=${STAGEDIR}${PREFIX} ${SH} \
         ${PKGINSTALL} ${PKGNAME} PRE-INSTALL

 post-install:
-    @${SETENV} PKG_PREFIX=${PREFIX} ${SH} \
+    @${SETENV} PKG_PREFIX=${STAGEDIR}${PREFIX} ${SH} \
         ${PKGINSTALL} ${PKGNAME} POST-INSTALL
     @${ECHO_CMD} "===> post-installation information for ${PKGNAME}:"
     @${ECHO_CMD} ""

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191688-13>