diff options
author | nork <nork@FreeBSD.org> | 2004-12-25 19:52:27 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2004-12-25 19:52:27 +0800 |
commit | e1ce8e6feb1cf0728abcb6e095dc8bb972a26301 (patch) | |
tree | 78c9b57cac381d7369dcd13b8ea9f4e2f345f9a1 /sysutils | |
parent | c5cfe1aa1cef61a7251377b73a19d02cc53c4d9e (diff) | |
download | freebsd-ports-graphics-e1ce8e6feb1cf0728abcb6e095dc8bb972a26301.tar.gz freebsd-ports-graphics-e1ce8e6feb1cf0728abcb6e095dc8bb972a26301.tar.zst freebsd-ports-graphics-e1ce8e6feb1cf0728abcb6e095dc8bb972a26301.zip |
Fix build error on 4.x.
Pointed out by: pointyhat via kris
Submitted by: Dmitry Frolov <frolov@riss-telecom.ru> (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/freeipmi/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/freeipmi/Makefile b/sysutils/freeipmi/Makefile index 9928ecac537..5663e897147 100644 --- a/sysutils/freeipmi/Makefile +++ b/sysutils/freeipmi/Makefile @@ -22,6 +22,7 @@ BUILD_DEPENDS+= ${LOCALBASE}/lib/libargp.a:${PORTSDIR}/devel/argp-standalone USE_REINPLACE= yes USE_LIBTOOL_VER= 15 USE_GMAKE= yes +USE_GETOPT_LONG= yes GNU_CONFIGURE= yes INSTALLS_SHLIB= yes PLIST_SUB+= SHLIBVER=${SHLIBVER} RUNDIR=${RUNDIR} LOGDIR=${LOGDIR} @@ -38,11 +39,12 @@ SHLIBVER= 1 .include <bsd.port.pre.mk> +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -largp .if defined(WITH_IOPERM) -MYDEFS+= -DUSE_IOPERM +CPPFLAGS+= -DUSE_IOPERM .endif -CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include ${MYDEFS}" \ - LDFLAGS="-L${LOCALBASE}/lib -largp" +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" post-install: @${SETENV} PKG_PREFIX=${PREFIX} \ |