View | Details | Raw Unified | Return to bug 115457
Collapse All | Expand All

(-)/home/staff/gslin/work/ports/lasso/Makefile (-12 / +14 lines)
Lines 13-28 Link Here
13
MAINTAINER=	gslin@gslin.org
13
MAINTAINER=	gslin@gslin.org
14
COMMENT=	Free Liberty Alliance Implementation
14
COMMENT=	Free Liberty Alliance Implementation
15
15
16
LIB_DEPENDS=	xml2:${PORTSDIR}/textproc/libxml2
17
RUN_DEPENDS=	xmlsec1:${PORTSDIR}/security/xmlsec1
16
RUN_DEPENDS=	xmlsec1:${PORTSDIR}/security/xmlsec1
18
BUILD_DEPENDS:=	${RUN_DEPENDS}
17
BUILD_DEPENDS:=	${RUN_DEPENDS}
19
18
20
CONFIGURE_ARGS+=	--disable-java --disable-php4 --with-zlib
19
CONFIGURE_ARGS+=	--disable-java --disable-php4 --with-zlib
21
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
22
USE_GNOME=	gnomehack glib20
21
USE_GNOME=	gnomehack glib20 libxml2
23
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
24
USE_OPENSSL=	yes
23
USE_OPENSSL=	yes
25
USE_PYTHON=	yes
24
USE_PYTHON_BUILD=	yes
26
25
27
.ifdef(WITH_PERL)
26
.ifdef(WITH_PERL)
28
CONFIGURE_ARGS+=	--enable-perl
27
CONFIGURE_ARGS+=	--enable-perl
Lines 33-53 Link Here
33
PLIST_SUB+=	WITH_PERL="@comment "
32
PLIST_SUB+=	WITH_PERL="@comment "
34
.endif
33
.endif
35
34
36
#.ifdef(WITH_PHP5)
35
.ifdef(WITH_PHP5)
37
#CONFIGURE_ARGS+=	--enable-php5 \
36
CONFIGURE_ARGS+=	--enable-php5 \
38
#		--with-php5-config="${LOCALBASE}/bin/php-config" \
37
		--with-php5-config="${LOCALBASE}/bin/php-config"
39
#		--with-php5-extension-dir="${PREFIX}/lib/php/${PHP_EXT_DIR}"
38
IGNORE_WITH_PHP=	4
40
#IGNORE_WITH_PHP=	4
39
LDFLAGS+=	"-L${LOCALBASE}/lib"
41
#PLIST_SUB+=	WITH_PHP5=""
40
LIB_DEPENDS+=	expat:${PORTSDIR}/textproc/expat2
42
#USE_PHP=	yes
41
PLIST_SUB+=	WITH_PHP5=""
43
#.else
42
USE_PHP=	yes
43
USE_PHP_BUILD=	yes
44
.else
44
CONFIGURE_ARGS+=	--disable-php5
45
CONFIGURE_ARGS+=	--disable-php5
45
PLIST_SUB+=	WITH_PHP5="@comment "
46
PLIST_SUB+=	WITH_PHP5="@comment "
46
#.endif
47
.endif
47
48
48
.ifdef(WITH_PYTHON)
49
.ifdef(WITH_PYTHON)
49
CONFIGURE_ARGS+=	--enable-python
50
CONFIGURE_ARGS+=	--enable-python
50
PLIST_SUB+=	WITH_PYTHON=""
51
PLIST_SUB+=	WITH_PYTHON=""
52
USE_PYTHON=	yes
51
.else
53
.else
52
CONFIGURE_ARGS+=	--disable-python
54
CONFIGURE_ARGS+=	--disable-python
53
PLIST_SUB+=	WITH_PYTHON="@comment "
55
PLIST_SUB+=	WITH_PYTHON="@comment "
(-)/home/staff/gslin/work/ports/lasso/files/patch-configure (-2 / +22 lines)
Lines 1-5 Link Here
1
--- configure.orig	Mon Jul 16 17:17:17 2007
1
--- configure.orig	2007-08-03 10:03:45.000000000 +0800
2
+++ configure	Mon Jul 16 17:18:09 2007
2
+++ configure	2007-08-03 10:08:48.000000000 +0800
3
@@ -21215,8 +21215,8 @@
4
   PHP4_INCLUDES=`$PHP4_CONFIG --includes`
5
   PHP4_LDFLAGS=`$PHP4_CONFIG --ldflags`
6
   PHP4_LIBS=`$PHP4_CONFIG --libs`
7
-  PHP4_UNPREFIXED_EXTENSION_DIR=`$PHP4_CONFIG --extension-dir | $SED 's/\/usr//g'`
8
   PHP4_PREFIX=`$PHP4_CONFIG --prefix`
9
+  PHP4_UNPREFIXED_EXTENSION_DIR=`$PHP4_CONFIG --extension-dir | $SED "s,^$PHP4_PREFIX,,g"`
10
 else
11
   # We assume PHP are in /usr/local directory.
12
   if test $MINGW -eq 1; then
13
@@ -21446,8 +21446,8 @@
14
   PHP5_INCLUDES=`$PHP5_CONFIG --includes`
15
   PHP5_LDFLAGS=`$PHP5_CONFIG --ldflags`
16
   PHP5_LIBS=`$PHP5_CONFIG --libs`
17
-  PHP5_UNPREFIXED_EXTENSION_DIR=`$PHP5_CONFIG --extension-dir | $SED 's/\/usr//g'`
18
   PHP5_PREFIX=`$PHP5_CONFIG --prefix`
19
+  PHP5_UNPREFIXED_EXTENSION_DIR=`$PHP5_CONFIG --extension-dir | $SED "s,^$PHP5_PREFIX,,g"`
20
 else
21
   # We assume PHP are in /usr/local directory.
22
   if test $MINGW -eq 1; then
3
@@ -22477,12 +22477,12 @@
23
@@ -22477,12 +22477,12 @@
4
         pkg_cv_LASSO_CFLAGS="$LASSO_CFLAGS"
24
         pkg_cv_LASSO_CFLAGS="$LASSO_CFLAGS"
5
     else
25
     else
(-)/home/staff/gslin/work/ports/lasso/pkg-plist (+6 lines)
Lines 17-22 Link Here
17
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/lasso/lasso.bs
17
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/lasso/lasso.bs
18
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/lasso/lasso.so
18
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/lasso/lasso.so
19
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/lasso.pm
19
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/lasso.pm
20
%%WITH_PHP5%%lib/php/%%PHP_EXT_DIR%%/lasso.a
21
%%WITH_PHP5%%lib/php/%%PHP_EXT_DIR%%/lasso.la
22
%%WITH_PHP5%%lib/php/%%PHP_EXT_DIR%%/lasso.so
20
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/_lasso.a
23
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/_lasso.a
21
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/_lasso.la
24
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/_lasso.la
22
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/_lasso.so
25
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/_lasso.so
Lines 154-158 Link Here
154
@dirrmtry include/lasso/id-ff
157
@dirrmtry include/lasso/id-ff
155
@dirrmtry include/lasso
158
@dirrmtry include/lasso
156
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/lasso
159
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/lasso
160
%%WITH_PYTHON%%@dirrmtry %%PYTHON_SITELIBDIR%%
161
%%WITH_PHP5%%@dirrmtry lib/php/%%PHP_EXT_DIR%%
162
%%WITH_PHP5%%@dirrmtry lib/php
157
%%WITH_PERL%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/lasso
163
%%WITH_PERL%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/lasso
158
%%PORTDOCS%%@dirrm %%DOCSDIR%%
164
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 115457