tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

serf-1.3



Hi!

serf-1.3 switched from autoconf+automake to scons.

I tried packaging it. First I found out that apr doesn't put the rpath
on the linker command line. After fixing that, I still see a relative
path complaint by the PKG_DEVELOPER checks.

I don't see where this path comes from, does anyone have an idea?
 Thomas
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/apr/Makefile,v
retrieving revision 1.71
diff -u -r1.71 Makefile
--- Makefile    4 Jul 2013 16:24:02 -0000       1.71
+++ Makefile    28 Jul 2013 16:12:48 -0000
@@ -1,6 +1,7 @@
 # $NetBSD: Makefile,v 1.71 2013/07/04 16:24:02 wiz Exp $
 
 DISTNAME=      apr-1.4.8
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_APACHE:=apr/}
 EXTRACT_SUFX=  .tar.bz2
@@ -27,6 +28,12 @@
        ${RM} ${DESTDIR}${PREFIX}/libexec/apr/libtool
        ${INSTALL_SCRIPT} ${PKG_LIBTOOL} ${DESTDIR}${PREFIX}/libexec/apr/libtool
 
+SUBST_CLASSES+=                rpath
+SUBST_SED.rpath=       -e 's!-L\([^ ]*\) -l!'${COMPILER_RPATH_FLAG}'\1 -L\1 
-l!'
+SUBST_STAGE.rpath=     pre-configure
+SUBST_FILES.rpath=     apr-config.in
+SUBST_MESSAGE.rpath=   Fixing rpath handling in config script.
+
 .include "../../mk/bsd.prefs.mk"
 .if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
 .include "../../devel/libuuid/buildlink3.mk"
? log
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/serf/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- Makefile    4 Jul 2013 17:17:28 -0000       1.17
+++ Makefile    28 Jul 2013 16:14:15 -0000
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.17 2013/07/04 17:17:28 wiz Exp $
 
-DISTNAME=      serf-1.2.1
+DISTNAME=      serf-1.3.0
 CATEGORIES=    www
 MASTER_SITES=  http://serf.googlecode.com/files/
 EXTRACT_SUFX=  .tar.bz2
@@ -9,13 +9,19 @@
 HOMEPAGE=      http://code.google.com/p/serf/
 COMMENT=       High-performance asynchronous HTTP client library
 
-PKG_INSTALLATION_TYPES=        overwrite pkgviews
+BUILD_DEPENDS+=        scons-[0-9]*:../../devel/scons
 
-GNU_CONFIGURE=         yes
 USE_LIBTOOL=           yes
-USE_TOOLS+=            gmake
-
 TEST_TARGET=           check
+SCONS_ARGS+=           APR=${PREFIX}/bin/apr-1-config
+SCONS_ARGS+=           APU=${PREFIX}/bin/apu-1-config
+SCONS_ARGS+=           OPENSSL=${PREFIX}/lib
+
+do-build:
+       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons 
PREFIX=${PREFIX} ${SCONS_ARGS}
+
+do-install:
+       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons 
PREFIX=${DESTDIR}${PREFIX} ${SCONS_ARGS} install
 
 .include "../../devel/apr/buildlink3.mk"
 .include "../../devel/apr-util/buildlink3.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/www/serf/PLIST,v
retrieving revision 1.4
diff -u -r1.4 PLIST
--- PLIST       4 Jul 2013 17:17:28 -0000       1.4
+++ PLIST       28 Jul 2013 16:14:15 -0000
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.4 2013/07/04 17:17:28 wiz Exp $
+@comment $NetBSD$
 include/serf-1/serf.h
 include/serf-1/serf_bucket_types.h
 include/serf-1/serf_bucket_util.h
-lib/libserf-1.la
+lib/libserf-1.a
+lib/libserf-1.so
 lib/pkgconfig/serf-1.pc
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/www/serf/distinfo,v
retrieving revision 1.6
diff -u -r1.6 distinfo
--- distinfo    7 Jul 2013 01:18:46 -0000       1.6
+++ distinfo    28 Jul 2013 16:14:15 -0000
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.6 2013/07/07 01:18:46 obache Exp $
 
-SHA1 (serf-1.2.1.tar.bz2) = f65fbbd72926c8e7cf0dbd4ada03b0d226f461fd
-RMD160 (serf-1.2.1.tar.bz2) = 49036f303a7737981276fa451a66a3b5bccc201f
-Size (serf-1.2.1.tar.bz2) = 190464 bytes
+SHA1 (serf-1.3.0.tar.bz2) = 14ed3e1dc195016a548499b3831f3df6b2501d27
+RMD160 (serf-1.3.0.tar.bz2) = 03ed7cd766a8515229b5df6a8e34ee0e37f0b81d
+Size (serf-1.3.0.tar.bz2) = 136426 bytes
 SHA1 (patch-buckets_ssl__buckets.c) = f940e1703d3a8cf879d5a563cf57826f027ed8e1


Home | Main Index | Thread Index | Old Index