aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/di/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/di/Makefile')
-rw-r--r--sysutils/di/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/sysutils/di/Makefile b/sysutils/di/Makefile
index 8a500d81076..f3ccb51f1a8 100644
--- a/sysutils/di/Makefile
+++ b/sysutils/di/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= di
-PORTVERSION= 3.7
+PORTVERSION= 3.9
CATEGORIES= sysutils
MASTER_SITES= http://www.gentoo.com/di/
@@ -18,9 +18,15 @@ MAN1= di.1
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile"
-.endif
+do-configure:
+ (cd ${WRKSRC}; \
+ CC="$(CC)" CFLAGS="$(CFLAGS)" \
+ LDFLAGS="$(LDFLAGS)" prefix="$(PREFIX)" ./Build config.h)
+
+do-build:
+ (cd ${WRKSRC}; \
+ CC="$(CC)" CFLAGS="$(CFLAGS)" \
+ LDFLAGS="$(LDFLAGS)" prefix="$(PREFIX)" ./Build)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/di ${PREFIX}/bin