summaryrefslogtreecommitdiff
path: root/misc/celestia/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'misc/celestia/Makefile.common')
-rw-r--r--misc/celestia/Makefile.common5
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/celestia/Makefile.common b/misc/celestia/Makefile.common
index 64e383b97a1..f005ace56d8 100644
--- a/misc/celestia/Makefile.common
+++ b/misc/celestia/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.18 2005/06/01 18:03:05 jlam Exp $
+# $NetBSD: Makefile.common,v 1.19 2005/06/20 06:02:30 hira Exp $
DISTNAME= celestia-${CELESTIA_VERS}
CATEGORIES= misc x11
@@ -17,6 +17,9 @@ USE_LANGUAGES= c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-lua --with-glut
+.if defined(CELESTIA_PROGPREFIX)
+CONFIGURE_ARGS+= --program-prefix=${CELESTIA_PROGPREFIX}
+.endif
GCC_REQD= 3.0