diff options
author | miwi <miwi@FreeBSD.org> | 2008-04-20 01:56:05 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-04-20 01:56:05 +0800 |
commit | bce9b81f9d6099820f3839d7809d6b08c1d2ae7b (patch) | |
tree | f5dd7c3a8dbebad79bdb5e844aeb69c59a9fd12c /graphics/allegrogl | |
parent | 2eea5f1d2e44418020f8f4db08d40bea6915b6e8 (diff) | |
download | freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.gz freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.zst freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.zip |
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
Diffstat (limited to 'graphics/allegrogl')
-rw-r--r-- | graphics/allegrogl/Makefile | 4 | ||||
-rw-r--r-- | graphics/allegrogl/files/makefile.ex | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/graphics/allegrogl/Makefile b/graphics/allegrogl/Makefile index e3c0a1d4e98f..d476ec343870 100644 --- a/graphics/allegrogl/Makefile +++ b/graphics/allegrogl/Makefile @@ -18,7 +18,7 @@ LIB_DEPENDS= alleg.42:${PORTSDIR}/devel/allegro USE_BZIP2= yes USE_GMAKE= yes -USE_GL= yes +USE_GL= glu USE_LDCONFIG= yes GNU_CONFIGURE= yes MAKEFILE= makefile @@ -44,7 +44,7 @@ post-install: s|%%RM%%|${RM}|g; \ s|%%CFLAGS%%|${CFLAGS}|g; \ s|%%PREFIX%%|${PREFIX}|g; \ - s|%%X11BASE%%|${X11BASE}|g; \ + s|%%LOCALBASE%%|${LOCALBASE}|g; \ s|%%ALLEGRO_CONFIG%%|${ALLEGRO_CONFIG}|g' \ < ${FILESDIR}/makefile.ex > ${EXAMPLESDIR}/makefile diff --git a/graphics/allegrogl/files/makefile.ex b/graphics/allegrogl/files/makefile.ex index 0c32c4be6287..9880ad6e7962 100644 --- a/graphics/allegrogl/files/makefile.ex +++ b/graphics/allegrogl/files/makefile.ex @@ -1,7 +1,7 @@ CC= %%CC%% RM= %%RM%% -CFLAGS= %%CFLAGS%% -I. -I%%X11BASE%%/include -I%%PREFIX%%/include -LDFLAGS= -L%%X11BASE%%/lib -L%%PREFIX%%/lib -lagl -lGL -lGLU +CFLAGS= %%CFLAGS%% -I. -I%%LOCALBASE%%/include -I%%PREFIX%%/include +LDFLAGS= -L%%LOCALBASE%%/lib -L%%PREFIX%%/lib -lagl -lGL -lGLU ALLEGRO_CFLAGS!=allegro-config --cflags ALLEGRO_LFLAGS!=allegro-config --libs |