aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2004-12-25 19:52:27 +0800
committernork <nork@FreeBSD.org>2004-12-25 19:52:27 +0800
commite1ce8e6feb1cf0728abcb6e095dc8bb972a26301 (patch)
tree78c9b57cac381d7369dcd13b8ea9f4e2f345f9a1 /sysutils
parentc5cfe1aa1cef61a7251377b73a19d02cc53c4d9e (diff)
downloadfreebsd-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/Makefile8
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} \