Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2014 06:45:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 192234] New: lang/squeak support STAGE and more
Message-ID:  <bug-192234-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 192234
           Summary: lang/squeak support STAGE and more
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: Normal
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: mutoh@openedu.org

Support STAGE, and use new LIB_DEPENDS syntax.

Fix:
Please apply patch below:

diff -ru /usr/ports/lang/squeak/Makefile squeak/Makefile
--- /usr/ports/lang/squeak/Makefile    2014-03-02 06:23:14.000000000 +0900
+++ squeak/Makefile    2014-07-25 13:49:25.787774241 +0900
@@ -25,12 +25,12 @@
 BUILD_DEPENDS=        ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip \
             cmake:${PORTSDIR}/devel/cmake \
             v4l_compat>=1.0.20120501:${PORTSDIR}/multimedia/v4l_compat
-LIB_DEPENDS=        audio:${PORTSDIR}/audio/nas \
-            ffi:${PORTSDIR}/devel/libffi \
-            asound:${PORTSDIR}/audio/alsa-lib \
-            pulse-simple:${PORTSDIR}/audio/pulseaudio \
-            gstreamer:${PORTSDIR}/multimedia/gstreamer \
-            v4l2:${PORTSDIR}/multimedia/libv4l
+LIB_DEPENDS=        libaudio.so:${PORTSDIR}/audio/nas \
+            libffi.so:${PORTSDIR}/devel/libffi \
+            libasound.so:${PORTSDIR}/audio/alsa-lib \
+            libpulse-simple.so:${PORTSDIR}/audio/pulseaudio \
+            libgstreamer-0.10.so:${PORTSDIR}/multimedia/gstreamer \
+            libv4l2.so:${PORTSDIR}/multimedia/libv4l

 ##################################################
 VM_VERSION=        ${PORTVERSION}.${SVNVERSION}
@@ -40,7 +40,6 @@
 SQUEAK_LIB_DIR=        ${PORTVERSION}-${SVNVERSION}
 USES=            pkgconfig

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

 ##################################################
@@ -56,7 +55,7 @@
 SHAREMODE=        644

 # shared Libaries are to be installed in:
-LDCONFIG_DIRS=        ${PREFIX}/lib/squeak/${VM_VERSION}
+LDCONFIG_DIRS=        ${STAGEDIR}${PREFIX}/lib/squeak/${VM_VERSION}

 IMAGES=        Squeak${IMAGEVERSION}/Squeak${IMAGEVERSION}.image \
         Squeak${IMAGEVERSION}/Squeak${IMAGEVERSION}.changes
@@ -92,11 +91,15 @@
     @${MKDIR} ${CONFIGURE_WRKSRC}

 ##################################################
+pre-install:
+    ${MKDIR} -p ${STAGEDIR}${PREFIX}/lib/squeak/${SQUEAK_LIB_DIR}/
+
+##################################################
 post-install:
-    ${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/${SQUEAK_SRC}.gz >
${WRKDIR}/${SQUEAK_SRC} && ${INSTALL_DATA} ${WRKDIR}/${SQUEAK_SRC}
${PREFIX}/lib/squeak/${SQUEAK_LIB_DIR}/
+    ${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/${SQUEAK_SRC}.gz >
${WRKDIR}/${SQUEAK_SRC} && ${INSTALL_DATA} ${WRKDIR}/${SQUEAK_SRC}
${STAGEDIR}${PREFIX}/lib/squeak/${SQUEAK_LIB_DIR}/
     (cd ${DISTDIR}/${DIST_SUBDIR} && ${UNZIP_CMD} -u Squeak${IMAGEVERSION}.zip
-d ${WRKDIR})
 .for f in ${IMAGES}
-    (cd ${WRKDIR} && ${INSTALL_DATA} ${f} ${PREFIX}/lib/squeak/)
+    (cd ${WRKDIR} && ${INSTALL_DATA} ${f} ${STAGEDIR}${PREFIX}/lib/squeak/)
 .endfor
     @${CAT} ${PKGMESSAGE}

diff -ru /usr/ports/lang/squeak/pkg-plist squeak/pkg-plist
--- /usr/ports/lang/squeak/pkg-plist    2014-01-23 00:16:56.000000000 +0900
+++ squeak/pkg-plist    2014-07-25 10:07:08.653693588 +0900
@@ -31,5 +31,6 @@
 lib/squeak/%%SQUEAK_LIB_DIR%%/SqueakV41.sources
 lib/squeak/Squeak4.3.changes
 lib/squeak/Squeak4.3.image
+man/man1/squeak.1.gz
 @dirrm lib/squeak/%%SQUEAK_LIB_DIR%%
 @dirrm lib/squeak

-- 
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-192234-13>