./configure --enable-shared
./gmake opt
./gmake install
как мне эти три команды в Makefile отразить?
Код: Выделить всё
# New ports collection makefile for: root
# Date created: 10 Feb 2012
# Whom: BLA BLA BLA <amdmi3@example.org>
#
# $FreeBSD$
#
PORTNAME= h323plus
PORTVERSION= 12.02.09
CATEGORIES= net
MASTER_SITES= http://openmcu.ru/public/Freebsd_i386/port/
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= amdmi3@example.org
COMMENT= Empty comment
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include"
CONFIGURE_ARGS=--enable-shared
WRKSRC= ${WRKDIR}/${PORTNAME}
.include <bsd.port.mk>
Код: Выделить всё
Created dependencies.
gmake -C src optdepend
gmake[1]: Entering directory `/usr/ports/net/openh323/work/h323plus/src'
c++ -D_REENTRANT -fno-exceptions -Wall -DNDEBUG -DPTRACING -I/usr/local/include/openh323 -I/usr/local/share/ptlib/include -M h225_1.cxx >> /usr/local/lib/obj_FreeBSD_x86_r/h225_1.dep
h225_1.cxx:12:18: error: h225.h: No such file or directory
gmake[1]: *** [/usr/local/lib/obj_FreeBSD_x86_r/h225_1.dep] Error 1
gmake[1]: *** Deleting file `/usr/local/lib/obj_FreeBSD_x86_r/h225_1.dep'
gmake[1]: Leaving directory `/usr/ports/net/openh323/work/h323plus/src'
gmake: *** [optdepend] Error 2
*** Error code 1
Stop in /usr/ports/net/openh323.