ports/185115: lang/pike76 : remove dependency on expired databases/mird , modernize a bit
Rene Ladan
rene at FreeBSD.org
Sun Dec 22 23:10:01 UTC 2013
>Number: 185115
>Category: ports
>Synopsis: lang/pike76 : remove dependency on expired databases/mird , modernize a bit
>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: Sun Dec 22 23:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Rene Ladan
>Release: FreeBSD 10.0-RC2 amd64
>Organization:
>Environment:
FreeBSD acer 10.0-RC2 FreeBSD 10.0-RC2 #0 r259404: Sun Dec 15 08:18:20 UTC 2013 root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
lang/pike76 depends on databases/mird, which expired on 2013-11-01
Like lang/pike78, remove this dependency and modernize it a bit (LIB_DEPENDS (not fully tested!), OSVERSION, COMMENT)
Note that it does not build in poudriere but this was already the case:
http://lists.freebsd.org/pipermail/freebsd-pkg-fallout/2013-August/009418.html
>How-To-Repeat:
Tools/scripts/rmport databases/mird
>Fix:
Patch attached with submission follows:
Index: lang/pike76/Makefile
===================================================================
--- lang/pike76/Makefile (revision 337202)
+++ lang/pike76/Makefile (working copy)
@@ -3,7 +3,7 @@
PORTNAME= pike76
PORTVERSION= 7.6.112
-PORTREVISION= 18
+PORTREVISION= 19
CATEGORIES= lang
MASTER_SITES= ftp://pike.ida.liu.se/pub/pike/beta/${PORTVERSION}/ \
http://pike.ida.liu.se/pub/pike/beta/${PORTVERSION}/ \
@@ -14,14 +14,13 @@
DISTNAME= Pike-v${PORTVERSION}
MAINTAINER= johans at FreeBSD.org
-COMMENT= A dynamic programming language with a syntax similar to C++
+COMMENT= Dynamic programming language with a syntax similar to C++
-LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
- tiff:${PORTSDIR}/graphics/tiff \
- gdbm:${PORTSDIR}/databases/gdbm \
- pcre:${PORTSDIR}/devel/pcre \
- mird:${PORTSDIR}/databases/mird \
- gmp:${PORTSDIR}/math/gmp
+LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
+ libtiff.so:${PORTSDIR}/graphics/tiff \
+ libgdbm.so:${PORTSDIR}/databases/gdbm \
+ libpcre.so:${PORTSDIR}/devel/pcre \
+ libgmp.so:${PORTSDIR}/math/gmp
CONFLICTS= pike7[28]-[0-9]*
CONFLICTS_BUILD=nettle-[2-9]*
@@ -77,6 +76,7 @@
--without-glade \
--without-libglade-config \
--without-machine-code \
+ --with-perl \
--with-relocatable-dumped-modules \
--without-GL --without-GLUT \
--prefix=${PREFIX}
@@ -85,9 +85,6 @@
USES= bison gettext gmake perl5
-# Allow building Embedded Perl
-CONFIGURE_ARGS+= --with-perl
-
PLIST_FILES= bin/pike bin/pike76 bin/hilfe
NO_STAGE= yes
@@ -95,10 +92,6 @@
ONLY_FOR_ARCHS= i386 amd64
-.if ${OSVERSION} < 800000 && ${ARCH} == "amd64"
-BROKEN= segfaults during build
-.endif
-
.if ${PORT_OPTIONS:MEXPERIMENTAL_FEATURES}
CONFIGURE_ARGS+= --with-computed-goto \
--with-pg \
@@ -119,7 +112,7 @@
.endif
.if ${PORT_OPTIONS:MFFMPEG}
-LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg
+LIB_DEPENDS+= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg
CONFIGURE_ARGS+= --with-ffmpeg
.else
CONFIGURE_ARGS+= --without-ffmpeg
@@ -126,11 +119,11 @@
.endif
.if ${PORT_OPTIONS:MFFTW}
-LIB_DEPENDS+= fftw:${PORTSDIR}/math/fftw
+LIB_DEPENDS+= libfftw.so:${PORTSDIR}/math/fftw
.endif
.if ${PORT_OPTIONS:MTTF}
-LIB_DEPENDS+= ttf:${PORTSDIR}/print/freetype
+LIB_DEPENDS+= libttf.so:${PORTSDIR}/print/freetype
CONFIGURE_ARGS+= --with-ttflib
.else
CONFIGURE_ARGS+= --without-ttflib
@@ -137,7 +130,7 @@
.endif
.if ${PORT_OPTIONS:MFREETYPE}
-LIB_DEPENDS+= freetype:${PORTSDIR}/print/freetype2
+LIB_DEPENDS+= libfreetype.so:${PORTSDIR}/print/freetype2
CONFIGURE_ARGS+= --with-freetype
.else
CONFIGURE_ARGS+= --without-freetype
@@ -158,7 +151,7 @@
.endif
.if ${PORT_OPTIONS:MMSQL}
-BUILD_DEPENDS+= msql:${PORTSDIR}/databases/msql
+BUILD_DEPENDS+= libmsql.so:${PORTSDIR}/databases/msql
CONFIGURE_ARGS+= --with-msql=${PREFIX}
.else
CONFIGURE_ARGS+= --without-msql
@@ -165,12 +158,12 @@
.endif
.if ${PORT_OPTIONS:MUNIXODBC}
-LIB_DEPENDS+= odbc:${PORTSDIR}/databases/unixODBC
+LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC
CONFIGURE_ARGS+= --with-odbc
.endif
.if ${PORT_OPTIONS:MIODBC}
-LIB_DEPENDS+= iodbc:${PORTSDIR}/databases/libiodbc
+LIB_DEPENDS+= libiodbc.so:${PORTSDIR}/databases/libiodbc
CONFIGURE_ARGS+= --with-odbc
.endif
@@ -179,7 +172,7 @@
.endif
.if ${PORT_OPTIONS:MSANE}
-LIB_DEPENDS+= sane:${PORTSDIR}/graphics/sane-backends
+LIB_DEPENDS+= libsane.so:${PORTSDIR}/graphics/sane-backends
CONFIGURE_ARGS+= --with-sane
.else
CONFIGURE_ARGS+= --without-sane
@@ -186,8 +179,8 @@
.endif
.if ${PORT_OPTIONS:MPDF}
-LIB_DEPENDS+= pdf:${PORTSDIR}/print/pdflib \
- panda:${PORTSDIR}/print/panda
+LIB_DEPENDS+= libpdf.so:${PORTSDIR}/print/pdflib \
+ libpanda.so:${PORTSDIR}/print/panda
CONFIGURE_ARGS+= --with-libpdf --with-libpanda
.else
CONFIGURE_ARGS+= --without-libpdf --without-libpanda
@@ -194,7 +187,7 @@
.endif
.if ${PORT_OPTIONS:MSVG2}
-LIB_DEPENDS+= rsvg-2:${PORTSDIR}/graphics/librsvg2
+LIB_DEPENDS+= librsvg-2.so:${PORTSDIR}/graphics/librsvg2
CONFIGURE_ARGS+= --with-svg
.else
CONFIGURE_ARGS+= --without-svg
@@ -201,7 +194,7 @@
.endif
.if ${PORT_OPTIONS:MTDS}
-LIB_DEPENDS+= ct:${PORTSDIR}/databases/freetds
+LIB_DEPENDS+= libct.so:${PORTSDIR}/databases/freetds
CONFIGURE_ARGS+= --with-sybase
PLIST_SUB+= SYBASE:=""
.else
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list