Run autogen.sh in post-patch again, so the configure script can be run
normally with CONFIGURE_ARGS/CONFIGURE_ENV. But patch the script to avoid running configure twice. ok aja@
This commit is contained in:
parent
9c095e631d
commit
a227e9d7a0
@ -1,9 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.55 2012/10/29 09:47:05 landry Exp $
|
||||
# $OpenBSD: Makefile,v 1.56 2012/10/29 12:16:48 sthen Exp $
|
||||
|
||||
COMMENT-main= Motif toolkit
|
||||
COMMENT-demos= Motif toolkit demos
|
||||
|
||||
VERSION= 2.3.4
|
||||
REVISION-main= 0
|
||||
DISTNAME= motif-${VERSION}
|
||||
EXTRACT_SUFX= -src.tgz
|
||||
PKGNAME-main= openmotif-${VERSION}
|
||||
@ -27,7 +28,7 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MULTI_PACKAGES= -demos -main
|
||||
|
||||
USE_GROFF = Yes
|
||||
USE_GROFF= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
AUTOCONF_VERSION= 2.69
|
||||
AUTOMAKE_VERSION= 1.12
|
||||
@ -38,6 +39,8 @@ CONFIGURE_ARGS= --enable-themes \
|
||||
--enable-png
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib -lm"
|
||||
MAKE_ENV= AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
||||
AUTOMAKE_VERSION=${AUTOMAKE_VERSION}
|
||||
|
||||
USE_LIBTOOL= Yes
|
||||
|
||||
@ -65,7 +68,7 @@ WANTLIB-demos= ${WANTLIB} Xm Mrm
|
||||
# XXX Large, complicated, only partially automated test suite available
|
||||
NO_REGRESS= Yes
|
||||
|
||||
do-configure:
|
||||
pre-patch:
|
||||
cd ${WRKSRC}; AUTOCONF_VERSION=${AUTOCONF_VERSION} AUTOMAKE_VERSION=${AUTOMAKE_VERSION} ./autogen.sh
|
||||
|
||||
pre-configure:
|
||||
|
12
x11/openmotif/patches/patch-autogen_sh
Normal file
12
x11/openmotif/patches/patch-autogen_sh
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-autogen_sh,v 1.1 2012/10/29 12:16:48 sthen Exp $
|
||||
--- autogen.sh.orig Mon Oct 29 11:06:11 2012
|
||||
+++ autogen.sh Mon Oct 29 11:06:39 2012
|
||||
@@ -13,6 +13,8 @@ autoconf
|
||||
autoheader
|
||||
automake --foreign --include-deps --add-missing
|
||||
|
||||
+exit 0
|
||||
+
|
||||
if test -z "$*"; then
|
||||
echo "I am going to run ./configure with no arguments - if you wish "
|
||||
echo "to pass any to it, please specify them on the $0 command line."
|
Loading…
Reference in New Issue
Block a user